Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Active Support] require_relative => require | Akira Matsuda | 2017-10-21 | 1 | -2/+2 |
| | | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | [Active Support] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -2/+2 |
| | |||||
* | Implement mattr_acessor :default option | Genadi Samokovarov | 2017-06-03 | 1 | -24/+19 |
| | |||||
* | Reword according to feedback | Tomer Brisker | 2016-09-15 | 1 | -8/+7 |
| | |||||
* | Clarify that mattr_* creates public methods | Tomer Brisker | 2016-09-13 | 1 | -0/+6 |
| | |||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | systematic revision of =~ usage in AS | Xavier Noria | 2016-07-22 | 1 | -2/+3 |
| | | | | | Where appropriate prefer the more concise Regexp#match?, String#include?, String#start_with?, and String#end_with? | ||||
* | fixed spelling in the attribute_accessors docu | Torsten Braun | 2016-03-23 | 1 | -1/+1 |
| | | | mattr_writer to mattr_reader | ||||
* | fixed spellin in the mattr_reader documentation | Torsten Braun | 2016-03-23 | 1 | -1/+1 |
| | | | renamed cattr_reader to mattr_reader | ||||
* | Fix documentation for mattr_accessor methods | Jan Habermann | 2015-12-20 | 1 | -6/+6 |
| | |||||
* | Minor fix in Module#mattr_reader documentation | Yuri Kasperovich | 2015-11-09 | 1 | -1/+1 |
| | |||||
* | Regex fix for mattr_accessor validation | Aliaksandr Buhayeu | 2015-10-01 | 1 | -2/+2 |
| | | | | | Change ^ and $ operators to \A and \z to prevent code injection after the line breaks | ||||
* | Correcting `NameError` error message in `mattr_reader` method. Since this ↵ | amitkumarsuroliya | 2015-09-19 | 1 | -2/+2 |
| | | | | | | commit https://github.com/rails/rails/commit/7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d, `NameError` includes attribute_name also in error message [ci skip] | ||||
* | Only invoke the default block for mattr_accessor once so that it does not ↵ | Lachlan Sylvester | 2015-08-07 | 1 | -1/+1 |
| | | | | cause issues if it is not idempotent | ||||
* | Replace `#=>` with `# =>` [ci skip] | claudiob | 2014-12-17 | 1 | -1/+1 |
| | | | | | | | | @rafaelfranca suggested in f7c7bcd9 that code examples should display the result after `# =>` and not after `#=>`. This commit replaces *all* the occurrences of `#=>` in the code documentation (mostly added by me :sob:) with the suggested `# =>`. | ||||
* | Spelling and Grammar check [ci skip] | Akshay Vishnoi | 2013-12-16 | 1 | -2/+2 |
| | |||||
* | Unify cattr and mattr accessors declarations | Genadi Samokovarov | 2013-12-02 | 1 | -14/+160 |
| | |||||
* | fix example format and add markup in Module#mattr_accessor documentation [ci ↵ | Francesco Rodriguez | 2012-05-29 | 1 | -10/+10 |
| | | | | skip] | ||||
* | update Module#mattr_accessor documentation [ci skip] | Francesco Rodriguez | 2012-05-26 | 1 | -6/+6 |
| | |||||
* | String quotes and trailing spaces | Alexey Gaziev | 2012-04-29 | 1 | -2/+2 |
| | |||||
* | validate attribute names in class and module attribute accessors | Dmitry Plashchynski | 2012-03-30 | 1 | -0/+2 |
| | |||||
* | Added instance_accessor: false to Module#mattr_accessor | Vijay Dev | 2011-06-14 | 1 | -2/+6 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | It's not needed to initialize the attr when calling mattr_writer | Santiago Pastorino | 2010-07-18 | 1 | -7/+1 |
| | |||||
* | LINE on class_eval need + 1, also removed comments [#4281 state:committed] | Santiago Pastorino | 2010-03-27 | 1 | -20/+20 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved] | Kabari Hendrick | 2010-03-27 | 1 | -5/+9 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | ||||
| * | Sync with rails/rails/master, merge two metaprogramming annotation efforts | Michael S. Klishin | 2008-12-28 | 1 | -24/+24 |
| |\ | |||||
| * | | Annotated metaprogramming code across ActiveSupport | Michael S. Klishin | 2008-12-28 | 1 | -23/+23 |
| | | | |||||
* | | | Explicit dependency on Array#extract_options! | Jeremy Kemper | 2009-03-24 | 1 | -24/+28 |
| |/ |/| | |||||
* | | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 1 | -24/+24 |
|/ | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -1/+11 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Refactored in use of extract_options! (closes #9079) [josh] | David Heinemeier Hansson | 2007-07-24 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added :instance_writer option to #mattr_writer/accessor, ↵ | Rick Olson | 2007-01-28 | 1 | -1/+5 |
| | | | | | | #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added reusable reloading support through the inclusion of the Relodable ↵ | David Heinemeier Hansson | 2006-01-29 | 1 | -0/+44 |
module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |