aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Pass the right binding when string is passed to :if with validations. [casper...Michael Koziarski2007-08-281-0/+22
* Make sure create! raises errors on validation when creating multiple records....Michael Koziarski2007-08-281-0/+6
* Improve performance and functionality of the postgresql adapter. Closes #804...Michael Koziarski2007-08-164-34/+234
* Don't clobber :includes passed to count on has_many association. Closes #9175...Michael Koziarski2007-08-161-0/+6
* Make sure has_many associations honour :include when counting. Closes #9167 [...Michael Koziarski2007-08-162-0/+8
* Change the implementation of ActiveRecord's attribute reader and writer methods:Michael Koziarski2007-08-143-29/+10
* Make habtm respect the :select option. Closes #9207. [Aleksey Kondratenko]Michael Koziarski2007-08-072-0/+13
* Let inspect on AR classes work when the table doesn't exist. Closes #9194 [ta...Michael Koziarski2007-08-061-0/+4
* dont call #collect on a string when returning query cache results. Closes #9...Rick Olson2007-07-251-0/+6
* Perform a deep #dup on query cache results so that modifying activerecord att...Rick Olson2007-07-251-18/+19
* Ensure that has_many :through associations use a count query instead of loadi...Rick Olson2007-07-251-0/+6
* Added :unless clause to validations (closes #8003) [monki]David Heinemeier Hansson2007-07-241-6/+59
* Fix #count on a has_many :through association so that it recognizes the :uniq...Rick Olson2007-07-201-1/+10
* Fix and properly document/test count(column_name) usage. Closes #8999 [lifofifo]Rick Olson2007-07-171-2/+10
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [lifo...Rick Olson2007-07-163-12/+3
* Change belongs_to so that the foreign_key assumption is taken from the associ...Rick Olson2007-07-162-7/+9
* Remove spurious tests from deprecated_associations_test, most of these aren't...Michael Koziarski2007-07-151-220/+2
* Make create! on a has_many :through association return the association objec...Michael Koziarski2007-07-111-1/+1
* Support for non heterogeneous arrays when serializing to xml. Unless guessabl...Tobias Lütke2007-07-091-2/+17
* Make [7169] work as expected with indented XML. Tobias Lütke2007-07-091-2/+3
* Include empty has_many/has_and_belongs_to_many associations as empty array ta...Tobias Lütke2007-07-091-0/+8
* Move from select * to select tablename.* to avoid clobbering IDs. Closes #888...Michael Koziarski2007-07-071-0/+9
* Don't call unsupported methods on associated objects when using :include, :me...Michael Koziarski2007-06-302-2/+18
* Add the type="array" moniker to has_many / has_and_belongs_to_many associatio...Tobias Lütke2007-06-272-5/+5
* Define collection singular ids method for has_many :through associations. Clo...Jeremy Kemper2007-06-271-5/+13
* Array attribute conditions work with proxied association collections. Closes ...Jeremy Kemper2007-06-271-1/+5
* Fix polymorphic has_one associations declared in an abstract class. Closes #8...Jeremy Kemper2007-06-255-3/+34
* Fixed validates_associated should not stop on the first error (closes #4276) ...David Heinemeier Hansson2007-06-231-4/+6
* Mock the beginning of the transaction also. References #8642.Jeremy Kemper2007-06-231-0/+1
* Rollback if commit raises an exception. Closes #8642.Jeremy Kemper2007-06-231-10/+22
* Update tests' use of fixtures for the new collections api. Closes #8726.Jeremy Kemper2007-06-225-122/+55
* Save associated records only if the association is already loaded. Closes #8713.Jeremy Kemper2007-06-211-1/+9
* MySQL: fix show_variable. Closes #8448.Jeremy Kemper2007-06-201-2/+10
* remove extra debug line. Closes #8681 [Giles Bowkett]Rick Olson2007-06-181-1/+0
* Remove deprecated find_first and find_all.Jeremy Kemper2007-06-114-164/+34
* Remove deprecated push_with_attributes.Jeremy Kemper2007-06-112-182/+129
* Fix Base#inspect when not every attribute is present. Closes #8623.Jeremy Kemper2007-06-111-0/+5
* Rollback [6961] which breaks SQLite tests. Reference #7345.Jeremy Kemper2007-06-081-16/+0
* Quote db path so SQLite AR tests work on Windows. Closes #5278 [mislav@nippur...Jeremy Kemper2007-06-082-2/+2
* Migrations: raise if a column is duplicated. Closes #7345.Jeremy Kemper2007-06-071-0/+16
* Fix typo. Closes #7504 [aurelianito]Jeremy Kemper2007-06-051-1/+1
* Fixtures: people(:technomancy, :josh) returns both fixtures. Closes #7880.Jeremy Kemper2007-06-052-2/+15
* Calculations support non-numeric foreign keys. Closes #8154.Jeremy Kemper2007-06-011-0/+20
* Base.inspect handles Base itself and abstract_class? Don't use #<Foo ...> si...Jeremy Kemper2007-05-311-3/+9
* Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.Jeremy Kemper2007-05-311-0/+7
* with_scope is protected. Closes #8524.Jeremy Kemper2007-05-301-0/+5
* Calculations: return nil average instead of 0 when there are no rows to avera...Jeremy Kemper2007-05-301-0/+8
* acts_as_nested_set: direct_children is sorted correctly. Closes #4761.Jeremy Kemper2007-05-302-9/+10
* Raise an exception if both attr_protected and attr_accessible are declared. C...Jeremy Kemper2007-05-291-0/+12
* Workaround test isolation failure with Task.attr_protected :starting.Jeremy Kemper2007-05-291-1/+5