aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/attribute_methods_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-021-1/+1
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-021-1/+1
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Remove unused method_name from AttributeMethodMatchChris Salzberg2019-04-121-1/+0
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-52/+38
* Use respond_to test helpersDaniel Colson2018-01-251-2/+2
* Merge pull request #29788 from kamipo/remove_unused_mutex_mRafael França2017-07-171-1/+1
|\
| * Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-1/+1
* | Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
|/
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-2/+2
* modernizes hash syntax in activemodelXavier Noria2016-08-061-2/+2
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-40/+40
* Completely remove potential global state leaks in ActiveModel tests.Zuhao Wan2014-03-111-24/+52
* Remove deprecation warning from AttributeMethodsMatcherPaul Nikitochkin2013-06-281-11/+0
* 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