aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #5316 from Jacobkg/masterJosé Valim2012-03-071-0/+3
* Allow writing unknown attributes, but with a deprecation warning. Closes #4583.Jon Leighton2012-01-311-0/+7
* Add workaround and deprecation if the inherited hook is not executed. Closes ...Jon Leighton2012-01-311-0/+10
* Merge pull request #4408 from tomstuart/read-and-write-attribute-aliasesSantiago Pastorino2012-01-111-1/+40
* Fix #4046.Jon Leighton2011-12-231-0/+20
* Stop the build asploding on 1.8.7Jon Leighton2011-12-141-0/+4
* Fix #3837.Jon Leighton2011-12-031-0/+12
* Get rid of the underscore versions of attribute methods!Jon Leighton2011-12-011-0/+5
* don't alter global state in testJon Leighton2011-11-301-2/+3
* If the table behind has no primary key, do not ask again and just return nil.Julius de Bruijn2011-11-301-0/+5
* omg computer science!Jon Leighton2011-11-301-5/+1
* Use inheritance to avoid special-case code for the 'id' methodJon Leighton2011-11-301-1/+1
* Update ActiveRecord#attribute_present? to work as documentedJustin Mazzi2011-11-051-0/+18
* Stop trying to be clever about when to define attribute methods.Jon Leighton2011-09-141-24/+0
* Deprecate using method_missing for attributes that are columns.Jon Leighton2011-09-131-0/+15
* Let Ruby deal with method visibility.Jon Leighton2011-09-131-3/+3
* Always generate attribute methods on the base class.Jon Leighton2011-09-131-0/+16
* Revert "Merge pull request #2543 from htanata/unused_require_in_ar_test"Santiago Pastorino2011-08-161-0/+1
* Remove unused require.Hendy Tanata2011-08-161-1/+0
* Resolve warnings by instantizing @attrubtes as nilBrian Cardarella2011-07-301-0/+1
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Fix broken test. You know, the merge button will be the end of us...Jon Leighton2011-06-011-3/+3
* Adding commentArun Agrawal2011-06-011-0/+1
* AttributeMethodTest test fix #jrubyVishnu Atrai2011-06-011-1/+5
* Test AR::Base#inspect on an allocated object not yet initializedFranck Verrot2011-05-251-0/+8
* Undo performances regressions I introduced in bbe0a507f287c20ab4ae8a244fbfc81...Jon Leighton2011-04-151-0/+11
* Remove unnecessary code from define_read_method and add assertion to make sur...Jon Leighton2011-04-151-0/+1
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-1/+1
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-121-1/+1
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-1/+2
* cleaning up typecast test a littleAaron Patterson2011-03-261-6/+8
* refactoring tz to a variable rather than repeating itAaron Patterson2011-03-261-2/+4
* adding a test for attributes after type cast. thanks nragaz. :heart:Aaron Patterson2011-03-261-0/+17
* fixing whitespace errors. :bomb:Aaron Patterson2011-03-251-2/+2
* Fix before_type_cast for timezone aware attributes by caching converted value...Adam Meehan2011-03-231-15/+11
* bugfix for serialized_attributes to be class specificRaimonds Simanovskis2011-02-091-0/+5
* do not to_s where you are testing that a string value is stored for the befor...Akira Matsuda2011-02-071-1/+1
* avoid nil.dupAkira Matsuda2011-02-071-0/+8
* fix for test_read_attributes_before_type_cast_on_datetime - Oracle adapter al...Raimonds Simanovskis2011-02-021-2/+2
* Make before_type_cast available for datetime fieldsAkira Matsuda2011-02-011-16/+15
* Add test for e0e3adfJeremy Kemper2011-01-071-0/+6
* Allow primary_key to be an attribute when the model is a new recordSantiago Pastorino2010-12-281-1/+1
* fixing space errorsAaron Patterson2010-12-021-3/+1
* Work around a strange piece of Syck behaviour where it checks Model#respond_t...Michael Koziarski2010-12-021-0/+11
* removing many unused variablesAaron Patterson2010-11-161-1/+1
* mysql tests are mostly passingAaron Patterson2010-10-261-3/+3
* Fewer object allocationsJeremy Kemper2010-09-091-3/+3
* Cache unserialized attributesJeremy Kemper2010-09-091-9/+12
* Do not use time zone in test_read_attributes_before_type_cast_on_datetime for...Raimonds Simanovskis2010-08-221-3/+3