aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/reflection_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-091-1/+1
* have an actual `NullColumn` object and update docs accordingly.Yves Senn2014-06-041-0/+1
* Return a null column when no column exists for an attributeSean Griffin2014-06-031-0/+19
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-1/+6
* Regression test for irregular inflection on has_manyArthur Neves2014-04-181-0/+8
* Make sure the reflection test is passing a String to the reflectionLauro Caetano2014-04-091-1/+1
* PostgreSQL and SQLite, remove varchar limit. [Vladimir Sazhin & Toms Mikoss &...Yves Senn2014-04-041-1/+1
* scope_chain should not be mutated for other reflectionsNeeraj Singh2013-10-141-0/+16
* acually get the actual source reflection :cry::gun:Aaron Patterson2013-07-231-2/+3
* Removing not useful test related to reflect_on_all_associationsNeeraj Singh2013-07-021-8/+0
* Fix tests which started to fail due to commit 0123c39f41e2062311b2197e6e230ef...Takehiro Adachi2013-05-181-3/+3
* remove duplicated require statements in AR test casesYves Senn2012-10-091-1/+0
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-2/+2
* Revert "Removing composed_of from ActiveRecord."Rafael Mendonça França2012-07-271-0/+24
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-2/+2
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-19/+23
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-22/+22
* Add test cases for 46492949b8c09f99db78b9f7a02d039e7bc6a702Andrew White2012-06-231-0/+52
* Removing composed_of from ActiveRecord.Steve Klabnik2012-06-181-24/+0
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-1/+1
* reflection test fixedgregolsen2012-01-311-2/+2
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-2/+2
* serialize fails on subclassAlvaro Bautista2011-12-231-5/+5
* Fix test as one more has_many addedArun Agrawal2011-11-041-1/+1
* Allow the :class_name option for associations to take a symbol.Jon Leighton2011-11-041-1/+5
* Fix #3271.Jon Leighton2011-11-031-0/+6
* Raise an exception on unknown primary key inside AssociationReflection.Jon Leighton2011-10-051-0/+15
* Don't call self.class unless necessary. Closes #3171.Jon Leighton2011-09-291-0/+1
* Fix belongs_to polymorphic with custom primary key on target.Jon Leighton2011-09-261-1/+0
* cache the plural name on the reflection so we do not pay pluralize costs on j...Aaron Patterson2011-06-301-1/+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
* 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