aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/reflection_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-7/+0
* Fix problem with loading polymorphic associations which have been defined in ...Jon Leighton2011-05-221-2/+2
* oracle, y u defy meJon Leighton2011-03-161-5/+5
* Simplify implementation of ThroughReflection#chainJon Leighton2011-03-111-1/+1
* Rename Reflection#through_reflection_chain and #through_options to Reflection...Jon Leighton2011-03-101-5/+5
* Push source_type and polymorphic conditions out of ThroughAssociation and Joi...Jon Leighton2011-03-051-2/+2
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-5/+24
|\
| * Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-2/+2
| * Implement deprecated version of AssociationReflection#primary_key_name, which...Jon Leighton2011-01-031-0/+12
| * Have a proper AssociationReflection#foreign_type method rather than using opt...Jon Leighton2011-01-031-0/+6
| * Rename AssociationReflection#primary_key_name to foreign_key, since the optio...Jon Leighton2010-12-311-3/+5
| * Improved strategy for updating a belongs_to association when the foreign key ...Jon Leighton2010-12-231-0/+2
| * Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+5
| * Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-151-0/+5
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-1/+1
|\|
| * Doesn't need to sort, lets users of attribute_names sort them if they wantSantiago Pastorino2010-12-021-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-081-5/+5
|\|
| * Add timestamps to TopicPratik Naik2010-11-021-5/+5
* | Fix naughty trailing whitespaceJon Leighton2010-10-311-9/+9
* | Add explicit tests for the nested through association changes in reflection.rbJon Leighton2010-10-191-0/+64
|/
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* adding column named 'group' to ensure that nothing breaks given that 'group' ...Neeraj Singh2010-06-231-5/+5
* removing dead code from activerecord tests. [#4187 state:resolved]Aaron Patterson2010-03-151-6/+0
* Renamed AssociationReflection #collection_association? to #collection?.Eloy Duran2010-01-081-4/+4
* Moved the validation logic to the association reflection and refactored autos...Eloy Duran2010-01-071-8/+39
* Add AssociationReflection#collection_association? which returns true if it's ...Eloy Duran2010-01-071-0/+9
* Changed ActiveRecord::Base.store_full_sti_class to be true by default reflect...David Heinemeier Hansson2010-01-031-0/+4
* delete correct records for a has_many with :primary_key and :dependent => :de...Matt Jones2009-11-101-2/+2
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-201-2/+2
* Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-2/+2
* Fix has_one with foreign_key and primary_key association bug which caused the...Graeme Porteous2009-09-121-2/+2
* Explicitely setting `autosave => false' should override new_record autosaving...Eloy Duran2009-09-121-3/+3
* has_many :through create should not raise validation errorsrailsbob2009-08-091-2/+2
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-5/+5
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-2/+2
* Changed ActiveRecord::Base.human_name to underscore the class name before it ...Justin French2009-06-301-1/+7
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-2/+2
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-2/+2
* Fix find_by_last when order is given [#2127 state:committed]Jan De Poorter2009-03-091-2/+2
* Ensure replacing has_one associations respects the supplied :dependent option...Dimitri Krassovski2009-03-061-2/+3
* Add support for nested object forms to ActiveRecord and the helpers in Action...Eloy Duran2009-02-011-0/+9
* Introduce ActiveRecord::Reflection::ThroughReflection to simplify hm:t reflec...Pratik Naik2008-10-041-0/+4
* Improve test coverage when using the group option in find, has_many or has_an...miloops2008-09-111-2/+2
* Don't raise exception when comparing ActiveRecord::Reflection. [#842 state:re...Ryan Bates2008-08-161-0/+4
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-3/+3
* Add :validate option to associations. [#301 state:resolved]Jan De Poorter2008-06-111-3/+3
* Fix faulty tests introduced in 8d0b4fa39Michael Koziarski2008-05-241-2/+3
* Introduce the :readonly option to all associations. Records from the associat...Jeremy Kemper2008-02-131-3/+3