aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/attribute_methods_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-2/+2
* Small typos here and there.Vipul A M2013-03-151-1/+1
* made dynamic finders alias_attribute awareMaximilian Schneider2012-06-221-0/+9
* Merge pull request #4785 from ayamomiji/add-self-to-allow-method-name-using-r...José Valim2012-05-251-0/+22
|\
| * fix `alias_attribute` will raise a syntax error if make an alias on aayaya2012-05-141-0/+22
* | allow define_attribute_methods to pass multiple valuesFrancesco Rodriguez2012-05-141-6/+13
|/
* test against ruby features in order to fix tests on Ruby 2.0Aaron Patterson2012-03-261-1/+9
* Fix test class name that should read WithoutCarlos Antonio da Silva2012-01-161-2/+2
* Fix stack level too deep when model does not have attributes method.Piotr Sarnacki2012-01-151-0/+8
* remove deprecated define_attr_method from ActiveModel::AttributeMethodsSergey Nartimov2011-12-241-31/+0
* Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`Jon Leighton2011-11-291-5/+18
* Generate attribute method unless it's already in the module.Jon Leighton2011-09-141-0/+23
* Add an attribute_missing method to ActiveModel::AttributeMethods.Jon Leighton2011-09-131-0/+15
* Let Ruby deal with method visibility.Jon Leighton2011-09-131-0/+36
* Add deprecation for doing `attribute_method_suffix ''`Jon Leighton2011-09-131-6/+11
* Use an empty AttributeMethodMatcher by default.Jon Leighton2011-09-131-0/+17
* removed duplicate codeganesh2011-06-111-1/+0
* Do not in place modify what table_name returnsSantiago Pastorino2011-03-221-11/+0
* define_attr_method should be able to define methods that returns nilSantiago Pastorino2011-03-171-0/+2
* dup strings on return so that in place modifications do not break anything. ...Aaron Patterson2011-03-171-0/+11
* define_attr_method correctly defines methods with invalid identifiersSantiago Pastorino2011-03-161-2/+4
* Add a define_attr_method testSantiago Pastorino2011-03-161-0/+13
* Add test for define_attr_method using as name an invalid identifierSantiago Pastorino2011-03-161-0/+13
* Add test for define_attribute_method using as name an invalid identifierSantiago Pastorino2011-03-161-3/+26
* Move ActiveModel::AttributeMethods#attribute_methods_generated? to ActiveReco...Alexander Uvarov2011-03-011-3/+7
* allow spaces and other characters in attribute names [#4725 state:resolved]Caleb Land2011-02-031-0/+30
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-2/+2
* Use better assertion methods for testingNeeraj Singh2010-05-191-1/+1
* Fixed behavior of attribute_methods_generated? [#3220 state:resolved]Sam Pohlenz2009-10-071-0/+26
* Don't share attribute matchers between classes [#3216 state:resolved]Sam Pohlenz2009-10-071-0/+20