aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Merge pull request #17019 from yuki24/add-class-name-to-unknown-attr-errorYves Senn2014-10-201-2/+2
|\
| * AR::UnknownAttributeError should include the class name of a recordYuki Nishijima2014-10-151-3/+3
* | AR::UnknownAttributeError should include the class name of a recordYuki Nishijima2014-10-201-3/+3
|/
* Fix assertions in AR::TestCase::AttributeMethodsTestYuki Nishijima2014-09-211-3/+3
* Fix typo [ci skip]Yuki Nishijima2014-09-201-1/+1
* Allow YAML serialization when using TZ aware attributesSean Griffin2014-09-171-0/+8
* Merge pull request #16458 from chancancode/ar_fix_reserved_inheritanceGodfrey Chan2014-08-171-0/+18
|\
| * Fixed issue w/custom accessors + reserved name + inheritanceGodfrey Chan2014-08-111-0/+18
* | fix typo in method name (broken build :sweat:)Yves Senn2014-08-151-1/+1
* | prefer `has_attribute?` over `attributes.key?`.Yves Senn2014-08-151-1/+1
|/
* Merge pull request #15718 from chancancode/regression_from_15694Godfrey Chan2014-07-161-1/+5
|\
| * Fixed a regression introduced in 84cf156Godfrey Chan2014-06-141-1/+5
* | Move writing unknown column exception to null attributeSean Griffin2014-06-261-0/+9
* | Add missing test cases for `attribute_names` instance methodSean Griffin2014-06-221-0/+20
* | Add missing test cases for `attribute_method?`Sean Griffin2014-06-211-0/+11
|/
* Reorder test which does not represent real world usageSean Griffin2014-06-131-2/+2
* rm cached attributesSean Griffin2014-06-111-35/+9
* Remove most code related to serialized propertiesSean Griffin2014-06-011-1/+1
* Add missing test case for writing unknown attributesSean Griffin2014-05-301-0/+2
* Rename attribute related instance variables to better express intentSean Griffin2014-05-301-1/+1
* Don't recurse infinitely when calling non-existent method on superKris Kemper2014-05-221-0/+12
* Remove :timestamp column typeSean Griffin2014-05-191-1/+1
* Just call read_attribute, no need to use `send`.Lauro Caetano2014-04-141-4/+4
* Use teardown helper method.Guo Xiang Tan2014-03-141-1/+1
* Fixes STI when 2+ levels deep.Arthur Neves2014-03-101-0/+13
* Merge remote-tracking branch 'chancancode/fix_instance_method_already_impleme...Jon Leighton2014-02-251-11/+19
|\
| * Fixed STI classes not defining an attribute method if there is aGodfrey Chan2014-02-231-11/+19
* | Coerce strings when reading attributes.Yves Senn2014-02-231-0/+18
|/
* Fix AR#method_missing re-dispatching into overwritten attribute methods.thedarkone2013-09-291-2/+33
* Merge pull request #9860 from wangjohn/update_attributes_throws_error_with_nilRafael Mendonça França2013-09-241-1/+1
|\
| * Raising an error when nil or non-hash is passed to update_attributes.wangjohn2013-06-251-1/+1
* | Remove deprecation warning from attribute_missing Arun Agrawal2013-07-151-15/+0
* | Fix: attribute_for_inspect truncate upto (51 => 50) characters.namusyaka2013-07-091-1/+1
|/
* Extract AR::AttributeMethods#attribute_for_inspect's test code out from base_...Takehiro Adachi2013-05-221-0/+8
* test refactorAaron Patterson2013-05-161-5/+2
* Add more data to AR::UnknownAttributeErrorBogdan Gusiev2013-05-161-0/+12
* read_attribute_before_type_cast should accept symbolNeeraj Singh2013-05-111-0/+1
* fixes a test, and explains why AR::AttributeMethods checks defined?(@attribut...Xavier Noria2013-04-281-5/+2
* Removed space and unused classAnupam Choudhury2013-04-061-1/+1
* fix typos in AR. lots of them.Vipul A M2013-03-191-2/+2
* Remove not used require and some useless test commentsCarlos Antonio da Silva2012-11-171-12/+3
* Fix typo in module name and make #in_time_zone privateCarlos Antonio da Silva2012-11-171-1/+1
* Extract #in_time_zone helper method duplication to a moduleCarlos Antonio da Silva2012-11-171-12/+2
* Simplify helper method in attribute methods testCarlos Antonio da Silva2012-11-171-3/+1
* AR::AttributeMethods#[] raises AM::AttributeMissingError for missing attributes.Francesco Rodriguez2012-10-281-0/+6
* Revert "Key the attributes hash with symbols"Jon Leighton2012-10-121-2/+2
* test cleanup, remove ruby_type because it's no longer neededYves Senn2012-09-031-1/+1
* Key the attributes hash with symbolsJon Leighton2012-08-311-2/+2
* Move the serialized attribute tests to their own fileRafael Mendonça França2012-08-261-11/+0