aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/attribute_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #4785 from ayamomiji/add-self-to-allow-method-name-using-r...José Valim2012-05-251-4/+4
|\
| * fix `alias_attribute` will raise a syntax error if make an alias on aayaya2012-05-141-4/+4
* | Revert "Merge pull request #5702 from oscardelben/patch-4"Piotr Sarnacki2012-05-201-1/+3
* | Call undefine_attribute_methods only when defining new attributesOscar Del Ben2012-05-181-3/+1
* | allow define_attribute_methods to pass multiple valuesFrancesco Rodriguez2012-05-141-7/+7
* | Merge pull request #5729 from oscardelben/use_tapJosé Valim2012-05-131-5/+1
|\ \
| * | Use the more idiomatic tap methodOscar Del Ben2012-04-041-5/+1
| |/
* | simplify the alias_attribute example [ci skip]Vijay Dev2012-05-081-20/+1
* | added docs to alias_attribute methodFrancesco Rodriguez2012-05-071-0/+31
|/
* ruby 2.0 makes protected methods return false for respond_to, so pass true as...Aaron Patterson2012-02-211-1/+1
* remove unused capturesAaron Patterson2012-01-191-2/+2
* Fix stack level too deep when model does not have attributes method.Piotr Sarnacki2012-01-151-1/+1
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-1/+2
* remove deprecated define_attr_method from ActiveModel::AttributeMethodsSergey Nartimov2011-12-241-41/+0
* Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`Jon Leighton2011-11-291-37/+20
* Speed up attribute invocation by checking if both name and calls are compilable.José Valim2011-11-141-27/+32
* Class name specified in example is Person, not AttributePerson.Uģis Ozols2011-09-291-3/+3
* Generate attribute method unless it's already in the module.Jon Leighton2011-09-141-1/+1
* Add an attribute_missing method to ActiveModel::AttributeMethods.Jon Leighton2011-09-131-8/+11
* Avoid double super call in some cases.Jon Leighton2011-09-131-5/+4
* Let Ruby deal with method visibility.Jon Leighton2011-09-131-13/+11
* Add deprecation for doing `attribute_method_suffix ''`Jon Leighton2011-09-131-0/+11
* refactoringJon Leighton2011-09-131-19/+11
* Use an empty AttributeMethodMatcher by default.Jon Leighton2011-09-131-2/+9
* Made attribute_method_matchers_cache private + docLawrence Pit2011-07-171-3/+13
* Issue #2075 Optimization of ActiveModel's match_attribute_method?Lawrence Pit2011-07-161-9/+17
* Optimization of ActiveModel's match_attribute_method?Lawrence Pit2011-07-151-2/+5
* let this regexp be stricterXavier Noria2011-04-191-1/+1
* Let's not dup because value may not always be duplicable.José Valim2011-04-191-1/+1
* Avoid define_method if possible.José Valim2011-04-191-12/+39
* use class_eval with a string when it's possibleSantiago Pastorino2011-03-221-2/+8
* Do not in place modify what table_name returnsSantiago Pastorino2011-03-221-1/+1
* define_attr_method should be able to define methods that returns nilSantiago Pastorino2011-03-171-2/+2
* remove misleading commentAaron Patterson2011-03-171-2/+0
* dup strings on return so that in place modifications do not break anything. ...Aaron Patterson2011-03-171-1/+1
* define_attr_method correctly defines methods with invalid identifiersSantiago Pastorino2011-03-161-3/+2
* Move ActiveModel::AttributeMethods#attribute_methods_generated? to ActiveReco...Alexander Uvarov2011-03-011-25/+19
* 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
* 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 state:reso...Robert Pankowecki2010-11-141-5/+5
* 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
* typo in AMAdam Meehan2010-08-091-1/+1