aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove unused assignments from activerecord testsMark Rushakoff2012-04-291-2/+2
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-4/+4
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-1/+1
* attribute_present? should return false for empty stringsJacob Green2012-03-061-0/+3
* Fix warning: assigned but unused variablekennyj2012-03-011-3/+0
* force datetime attributes to be changed, fix GH #3965Sergey Nartimov2012-02-281-0/+13
* move id_before_type_cast to PrimaryKey moduleSergey Nartimov2012-02-161-0/+8
* Revert PR#5001 "removed unuseful require for reply as we are not using requir...Vishnu Atrai2012-02-121-0/+1
* removed unuseful require for reply as we are not using require modelKarunakar (Ruby)2012-02-111-1/+0
* fixing the list of cached columnsAaron Patterson2012-02-091-1/+3
* only exclude serialized columns from cacheable columnsAaron Patterson2012-02-091-1/+1
* Test that #[] and #[]= keep working when #read_attribute and #write_attribute...Tom Stuart2012-01-111-0/+33
* Test ActiveRecord::Base#[]= as well as #write_attributeTom Stuart2012-01-111-1/+7
* Fix #4046.Jon Leighton2011-12-231-0/+20
* remove deprecated underscore versions of attribute methodsSergey Nartimov2011-12-211-8/+0
* handle not only strings in date type castSergey Nartimov2011-12-191-0/+8
* 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