aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/attribute_methods.rb
Commit message (Collapse)AuthorAgeFilesLines
* module_eval is not needed hereSantiago Pastorino2011-02-031-5/+3
|
* method_defined?, define_method and send accepts a string as argumentSantiago Pastorino2011-02-031-6/+6
|
* allow spaces and other characters in attribute names [#4725 state:resolved]Caleb Land2011-02-031-4/+4
| | | | | | | | * define the dynamically defined methods with 'define_method' instead of def * wrap some string injected method names in quotes Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deleted extra "a" in method commentPaul Yoder2011-01-271-1/+1
|
* No need to symbolize these.José Valim2010-12-271-1/+1
|
* define_attr_method must serialize nil correctlyAaron Patterson2010-12-201-1/+1
|
* grammar fixAditya Sanghi2010-11-271-2/+2
|
* Fix when database column name has some symbolic characters. [#5818 ↵Robert Pankowecki2010-11-141-5/+5
| | | | state:resolved]
* Fewer object allocationsJeremy Kemper2010-09-091-8/+6
|
* Cheaper attribute_method_matchersJeremy Kemper2010-09-091-9/+10
|
* Fix require for class_attributeJeremy Kemper2010-09-091-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-42/+42
| | | | 's/[ \t]*$//' -i {} \;)
* typo in AMAdam Meehan2010-08-091-1/+1
|
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-151-1/+1
|\
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
| |
* | Minor changes to active_model/attribute_methodsRizwan Reza2010-06-141-24/+30
|/
* typo 'Provivdes' -> 'Provides'Santiago Pastorino2010-05-051-1/+1
|
* fix stack trace lines on class_evalSantiago Pastorino2010-04-091-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' into docrailswycats2010-03-261-3/+15
|\
| * cleaning up a bunch of method already defined warnings [#4209 state:resolved]Aaron Patterson2010-03-171-3/+15
| | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-121-4/+7
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Add missing information about attributes method.José Valim2010-02-281-3/+6
| |
| * Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-1/+1
| |
* | Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-021-0/+1
|\| | | | | | | | | | | | | | | Conflicts: activemodel/README activemodel/lib/active_model/errors.rb activemodel/lib/active_model/serialization.rb railties/guides/source/3_0_release_notes.textile
| * Full update on ActiveModel documentationMikel Lindsaar2010-02-011-20/+120
| |
| * Ruby 1.9.2: explicit coercion check no longer needed; bug fixed upstreamJeremy Kemper2010-01-011-4/+0
| |
| * Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attemptsJeremy Kemper2009-12-061-0/+4
| |
* | Adding ActiveModel::AttributeMethods documentationMikel Lindsaar2010-01-171-21/+120
|/
* Fixed behavior of attribute_methods_generated? [#3220 state:resolved]Sam Pohlenz2009-10-071-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't share attribute matchers between classes [#3216 state:resolved]Sam Pohlenz2009-10-071-1/+4
| | | | | | | Allows separate models that include ActiveModel::AttributeMethods to use different sets of attribute matchers. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix warnings in AMoJoshua Peek2009-09-051-1/+1
|
* AMo overrides alias_attribute and manages aliasing all known attribute ↵Joshua Peek2009-08-101-0/+10
| | | | method matchers
* Centralize attr method name concatenation in AttributeMethodMatchJoshua Peek2009-08-101-11/+22
|
* Extract generic attribute method generation to AMoJoshua Peek2009-08-041-0/+267