| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | Implement deprecated version of AssociationReflection#primary_key_name, which... | Jon Leighton | 2011-01-03 | 1 | -0/+12 |
* | When preloading a belongs_to, the target should still be set (to nil) if ther... | Jon Leighton | 2011-01-03 | 1 | -0/+9 |
* | Make Relation#create_with always merge rather than overwrite, not just when m... | Jon Leighton | 2011-01-03 | 1 | -0/+10 |
* | Let AssociationCollection#find use #scoped to do its finding. Note that I am ... | Jon Leighton | 2011-01-03 | 3 | -14/+12 |
* | Fix test_any in relations_test.rb, which was failing when relations_test.rb i... | Jon Leighton | 2011-01-03 | 1 | -0/+8 |
* | Allow assignment on has_one :through where the owner is a new record [#5137 s... | Jon Leighton | 2011-01-03 | 5 | -23/+60 |
* | Have a proper AssociationReflection#foreign_type method rather than using opt... | Jon Leighton | 2011-01-03 | 1 | -0/+6 |
* | Some basic tests for the :foreign_type option on belongs_to, which was previo... | Jon Leighton | 2011-01-03 | 2 | -1/+31 |
* | herp derpricating add_limit_offset! | Aaron Patterson | 2011-01-03 | 1 | -12/+0 |
* | Added one more failing test for bug #6036 | Robert Pankowecki (Gavdi) | 2011-01-04 | 1 | -0/+6 |
* | Rename AssociationReflection#primary_key_name to foreign_key, since the optio... | Jon Leighton | 2010-12-31 | 1 | -3/+5 |
* | Support for :counter_cache on polymorphic belongs_to | Jon Leighton | 2010-12-31 | 1 | -0/+12 |
* | Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh... | Jon Leighton | 2010-12-31 | 1 | -6/+36 |
* | Specify the STI type condition using SQL IN rather than a whole load of ORs. ... | Jon Leighton | 2010-12-31 | 1 | -0/+7 |
* | Verify that when has_many associated objects are destroyed via :dependent => ... | Jon Leighton | 2010-12-31 | 1 | -0/+9 |
* | Refactor configure_dependency_for_has_many to use AssociationCollection#delet... | Jon Leighton | 2010-12-31 | 1 | -3/+4 |
* | Make serialized fixtures work again | Pratik Naik | 2010-12-29 | 3 | -4/+9 |
* | Allow primary_key to be an attribute when the model is a new record | Santiago Pastorino | 2010-12-28 | 1 | -1/+1 |
* | stop calling deprecated apis | Aaron Patterson | 2010-12-26 | 2 | -5/+5 |
* | Fix dodgy tests which were effectively asserting nil == nil | Jon Leighton | 2010-12-26 | 1 | -3/+3 |
* | using arel to compile sql statements | Aaron Patterson | 2010-12-25 | 1 | -1/+1 |
* | take more advantage of arel sql compiler | Aaron Patterson | 2010-12-25 | 1 | -1/+1 |
* | stop redifining methods on every call to set_primary_key | Aaron Patterson | 2010-12-24 | 2 | -4/+12 |
* | Verify that there is no unwanted implicit readonly set on Model.has_many_thro... | oleg dashevskii | 2010-12-23 | 1 | -1/+13 |
* | Raise an error for associations which try to go :through a polymorphic associ... | Jon Leighton | 2010-12-23 | 1 | -3/+8 |
* | If a has_many goes :through a belongs_to, and the foreign key of the belongs_... | Jon Leighton | 2010-12-23 | 3 | -23/+68 |
* | Improved strategy for updating a belongs_to association when the foreign key ... | Jon Leighton | 2010-12-23 | 2 | -2/+5 |
* | Test to verify that #2189 (count with has_many :through and a named_scope) is... | Jon Leighton | 2010-12-23 | 1 | -0/+5 |
* | Revert "Optimize <association>_ids for hm:t with belongs_to source". The opti... | Jon Leighton | 2010-12-23 | 1 | -6/+2 |
* | Test demonstrating problem with foo.association_ids where it's a has_many :th... | Jon Leighton | 2010-12-23 | 1 | -0/+4 |
* | When a has_many association is not :uniq, appending the same record multiple ... | Jon Leighton | 2010-12-23 | 1 | -0/+10 |
* | Fix behaviour of foo.has_many_through_association.select('custom select') [#6... | Michał Łomnicki | 2010-12-23 | 1 | -0/+5 |
* | Fix creation of has_many through records with custom primary_key option on be... | Szymon Nowak | 2010-12-23 | 1 | -1/+29 |
* | Verify that has_one :through preload respects the :conditions [#2976 state:re... | Will Bryant | 2010-12-23 | 1 | -0/+12 |
* | Don't allow a has_one association to go :through a collection association [#2... | Jon Leighton | 2010-12-23 | 1 | -5/+7 |
* | Fix for default_scope tests to ensure comparing of equally sorted lists | Raimonds Simanovskis | 2010-12-23 | 2 | -2/+2 |
* | removing SQL interpolation, please use scoping and attribute conditionals as ... | Aaron Patterson | 2010-12-22 | 1 | -4/+0 |
* | define_attr_method must serialize nil correctly | Aaron Patterson | 2010-12-20 | 3 | -0/+14 |
* | if there is no base name, we cannot determine a primary key | Aaron Patterson | 2010-12-20 | 1 | -0/+2 |
* | has_many associations with :dependent => :delete_all should update the counte... | Jon Leighton | 2010-12-20 | 1 | -0/+12 |
* | Fix problem where wrong keys are used in JoinAssociation when an association ... | Jon Leighton | 2010-12-20 | 2 | -0/+12 |
* | ActiveRecord::Base.joins should allow single nil argument [#6181 state:resolved] | Piotr Sarnacki | 2010-12-16 | 1 | -0/+4 |
* | Fix various issues with the :primary_key option in :through associations [#24... | Jon Leighton | 2010-12-15 | 2 | -0/+21 |
* | Fix problem with duplicated records when a :uniq :through association is prel... | Jon Leighton | 2010-12-15 | 2 | -2/+15 |
* | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 3 | -25/+25 |
* | Provide test for #4840: to_xml doesn't work in such case: Event.select('title... | Franck Verrot | 2010-12-15 | 1 | -0/+6 |
* | test for eager load of has_one association with condition on the through table | Pivotal Labs | 2010-12-16 | 1 | -1/+9 |
* | Verify that creating a has_many through record where there is a default_scope... | Jon Leighton | 2010-12-16 | 1 | -0/+7 |
* | Respect the default_scope on a join model when reading a through association | Jon Leighton | 2010-12-16 | 2 | -1/+13 |
* | Fix hm:t to self table aliasing in construct_scope | Ernie Miller | 2010-12-16 | 1 | -1/+1 |