aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/base_test.rb
Commit message (Expand)AuthorAgeFilesLines
* More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ...Jeremy Kemper2008-01-051-1/+7
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 [Jos...Jeremy Kemper2008-01-051-1/+1
* pdate_all ignores scoped :order and :limit, so post.comments.update_all doesn...Jeremy Kemper2008-01-041-0/+7
* Ruby 1.9 compat: test multibyte chars proxy for 1.8 onlyJeremy Kemper2008-01-041-12/+14
* Added by parameter to increment, decrement, and their bang varieties so you c...David Heinemeier Hansson2008-01-031-0/+18
* Ruby 1.9 compat: introduce ActiveSupport::FrozenObjectError normalize TypeErr...Jeremy Kemper2007-12-291-6/+6
* Benchmark logs for any level below or equal to the one specified, rather than...Jeremy Kemper2007-12-211-0/+53
* Fixed that the truncation of strings longer than 50 chars should use inspect ...David Heinemeier Hansson2007-12-061-3/+3
* Added ActiveRecord::Base#becomes to turn a record into one of another class (...David Heinemeier Hansson2007-12-031-1/+6
* attr_protected and _accessible use sets of strings instead of arrays of symbo...Jeremy Kemper2007-11-281-4/+12
* attr_readonly uses a set of strings instead of an array of symbols internally...Jeremy Kemper2007-11-281-1/+1
* Use rexml for some tests rather than string include? checks to account for un...Jeremy Kemper2007-11-141-14/+35
* Base#to_xml supports the nil="true" attribute like Hash#to_xml. Closes #8268.Jeremy Kemper2007-11-141-1/+1
* Kill the whiny_protected_attributes setting and kill the exception raised. In...David Heinemeier Hansson2007-11-091-18/+0
* SQL Server: test for affected row count. References #9558 [lawrence, ryepup]Jeremy Kemper2007-10-181-25/+19
* Make sure AR::Base#clone handles attr changes made in after_initialize hooks....Michael Koziarski2007-10-081-0/+4
* Raise ProtectedAttributeAssignmentError in development and test environments ...Jeremy Kemper2007-10-071-0/+18
* Send the correct INSERT statement when dealing with objects with only primary...Michael Koziarski2007-10-061-1/+16
* Add attr_readonly to specify columns that are skipped during a normal ActiveR...Rick Olson2007-09-301-13/+29
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
* Ensure that custom mutators aren't redefined by define_attribute_methods. [Koz]Michael Koziarski2007-09-171-0/+7
* Remove commented out test which refers to old code, old bugs and uses ObjectS...Michael Koziarski2007-08-291-22/+0
* Change the implementation of ActiveRecord's attribute reader and writer methods:Michael Koziarski2007-08-141-25/+3
* Let inspect on AR classes work when the table doesn't exist. Closes #9194 [ta...Michael Koziarski2007-08-061-0/+4
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-161-5/+2
* Add the type="array" moniker to has_many / has_and_belongs_to_many associatio...Tobias Lütke2007-06-271-4/+4
* Fix Base#inspect when not every attribute is present. Closes #8623.Jeremy Kemper2007-06-111-0/+5
* Base.inspect handles Base itself and abstract_class? Don't use #<Foo ...> si...Jeremy Kemper2007-05-311-3/+9
* Raise an exception if both attr_protected and attr_accessible are declared. C...Jeremy Kemper2007-05-291-0/+12
* Allow nil serialized attributes with a set class constraint. #7293 [sandofsky]Rick Olson2007-05-281-4/+17
* Test that #to_xml takes a block. Closes #8471. [seth]Jeremy Kemper2007-05-251-0/+9
* Fix #inspect for new records. Closes #8405.Jeremy Kemper2007-05-191-0/+4
* Pay tribute to timezones. Tune #inspect style.Jeremy Kemper2007-05-181-7/+7
* Sanitize Base#inspect. Closes #8392.Jeremy Kemper2007-05-181-1/+14
* Hash#to_xml supports YAML attributes; ActiveRecord::Base#to_xml support seria...Jeremy Kemper2007-03-181-1/+1
* Base.update_all :order and :limit options. Useful for MySQL updates that must...Jeremy Kemper2007-03-171-0/+6
* Oracle: overflow Time to DateTime. Closes #7718.Jeremy Kemper2007-03-061-1/+2
* SQLServer: don't choke on strings containing 'null'. Closes #7083.Jeremy Kemper2007-01-281-2/+10
* update_all can take a Hash argument. sanitize_sql splits into two methods for...Jeremy Kemper2007-01-281-10/+23
* Don't create instance writer methods for class attributes. Closes #7401 [Rick]Rick Olson2007-01-281-0/+10
* Allow the Oracle adapter to insert a string "null". Closes #6997 [laurelfan]Michael Koziarski2007-01-161-1/+10
* Sybase adapter fixes. Closes #6926 [jsheets]Michael Koziarski2007-01-051-5/+5
* try to appease the angry OracleJamis Buck2006-12-291-1/+1
* make sure query attributes on custom fields works as it used toJamis Buck2006-12-291-1/+22
* Pushing a record on an association collection doesn't unnecessarily load all ...Jeremy Kemper2006-12-211-3/+3
* Partially revert [5660] - makes more trouble than it resolves. References #57...Jeremy Kemper2006-12-191-2/+2
* Subclasses of an abstract class work with single-table inheritance. Closes #5...Jeremy Kemper2006-12-011-2/+55
* Quote ActiveSupport::Multibyte::Chars. Closes #6653.Jeremy Kemper2006-11-201-0/+12
* Simplify query_attribute by typecasting the attribute value and checking whet...Jeremy Kemper2006-11-201-1/+28
* Find with :include respects scoped :order. Closes #5850.Jeremy Kemper2006-11-071-0/+10