aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/base_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* SQLite: count(distinct) queries supported in >= 3.2.6, fix calculations worka...Jeremy Kemper2006-11-051-8/+10
* Dynamically generate reader methods for serialized attributes. Closes #6362.Jeremy Kemper2006-11-021-1/+1
* Added update_attributes! which uses save! to raise an exception if a validati...David Heinemeier Hansson2006-10-091-1/+38
* Use class name as XML_TYPE_NAMES key.Jeremy Kemper2006-09-291-2/+2
* Deprecation: count class method should be called with an options hash rather ...Jeremy Kemper2006-09-261-1/+1
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count ...Jeremy Kemper2006-09-151-29/+26
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-4/+10
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-10/+4
* to_xml: the :methods option works on arrays of records. Closes #5845.Jeremy Kemper2006-09-021-0/+6