Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |