| Commit message (Expand) | Author | Age | Files | Lines |
* | Rename AssociationReflection#primary_key_name to foreign_key, since the optio... | Jon Leighton | 2010-12-31 | 9 | -26/+26 |
* | Support for :counter_cache on polymorphic belongs_to | Jon Leighton | 2010-12-31 | 1 | -1/+1 |
* | Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh... | Jon Leighton | 2010-12-31 | 5 | -114/+91 |
* | Specify the STI type condition using SQL IN rather than a whole load of ORs. ... | Jon Leighton | 2010-12-31 | 1 | -1/+1 |
* | And owner_quoted_id can go too | Jon Leighton | 2010-12-31 | 3 | -22/+0 |
* | I N C E P T I O N: flatten_deeper works around a bug in Ruby 1.8.2. | Aaron Patterson | 2010-12-27 | 3 | -15/+3 |
* | Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o... | Jon Leighton | 2010-12-26 | 9 | -49/+39 |
* | Add a HasAssociation module for common code for has_* associations | Jon Leighton | 2010-12-26 | 7 | -61/+67 |
* | Remove AssociationProxy#dependent? - it's badly named and only used in one place | Jon Leighton | 2010-12-26 | 2 | -6/+1 |
* | Associations: DRY up the code which is generating conditions, and make it all... | Jon Leighton | 2010-12-26 | 6 | -64/+50 |
* | Remove custom_select param from construct_select, as it isn't used | Jon Leighton | 2010-12-26 | 1 | -3/+3 |
* | Remove construct_from from ThroughAssociationScope - it's not called from any... | Jon Leighton | 2010-12-26 | 1 | -4/+0 |
* | Set the create scope to an empty hash in ThroughAssociationScope. For reasoni... | Jon Leighton | 2010-12-26 | 1 | -1/+5 |
* | Use conditionals and implicit returns rather than explicit returns and postfi... | Jon Leighton | 2010-12-26 | 1 | -3/+7 |
* | Remove has_cached_counter? and cached_counter_attribute_name from HasManyThro... | Jon Leighton | 2010-12-26 | 1 | -8/+0 |
* | Remove pointless use of 'private' | Jon Leighton | 2010-12-26 | 1 | -1/+0 |
* | Use the through association proxy for operations on the through record, so th... | Jon Leighton | 2010-12-26 | 3 | -17/+17 |
* | Remove target_obsolete? which is not called from anywhere | Jon Leighton | 2010-12-26 | 1 | -4/+0 |
* | scoped.where_values_hash is never nil | Jon Leighton | 2010-12-26 | 1 | -1/+1 |
* | using arel to compile sql statements | Aaron Patterson | 2010-12-25 | 1 | -1/+2 |
* | If a has_many goes :through a belongs_to, and the foreign key of the belongs_... | Jon Leighton | 2010-12-23 | 5 | -3/+31 |
* | Improved strategy for updating a belongs_to association when the foreign key ... | Jon Leighton | 2010-12-23 | 3 | -0/+27 |
* | When a has_many association is not :uniq, appending the same record multiple ... | Jon Leighton | 2010-12-23 | 1 | -2/+2 |
* | Fix behaviour of foo.has_many_through_association.select('custom select') [#6... | Michał Łomnicki | 2010-12-23 | 1 | -2/+2 |
* | Fix creation of has_many through records with custom primary_key option on be... | Szymon Nowak | 2010-12-23 | 1 | -1/+6 |
* | no use for set, no need to to_ary, reduce extra objects | Aaron Patterson | 2010-12-20 | 1 | -3/+2 |
* | use array arithmetic rather than create sets | Aaron Patterson | 2010-12-20 | 1 | -4/+2 |
* | Avoid Symbol#to_proc for performance reasons in Ruby 1.8 | Jon Leighton | 2010-12-20 | 1 | -3/+3 |
* | has_many associations with :dependent => :delete_all should update the counte... | Jon Leighton | 2010-12-20 | 1 | -1/+3 |
* | Refactor delete_records in HasManyAssociation | Jon Leighton | 2010-12-20 | 1 | -7/+8 |
* | Fix problem where wrong keys are used in JoinAssociation when an association ... | Jon Leighton | 2010-12-20 | 1 | -9/+12 |
* | Remove unnecessary overloaded methods create, create! and create_record from ... | Jon Leighton | 2010-12-20 | 1 | -18/+0 |
* | Refactor create_record and build_record in AssociationCollection | Jon Leighton | 2010-12-20 | 1 | -17/+5 |
* | Delete create, create! and create_record from HasManyThroughAssociation in ex... | Jon Leighton | 2010-12-20 | 2 | -30/+14 |
* | Specify insert_record with NotImplementedError in AssociationCollection, to i... | Jon Leighton | 2010-12-20 | 4 | -11/+14 |
* | Fix various issues with the :primary_key option in :through associations [#24... | Jon Leighton | 2010-12-15 | 1 | -17/+9 |
* | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 1 | -8/+8 |
* | Respect the default_scope on a join model when reading a through association | Jon Leighton | 2010-12-16 | 3 | -2/+9 |
* | Fix hm:t to self table aliasing in construct_scope | Ernie Miller | 2010-12-16 | 1 | -2/+10 |
* | class names are already strings, so we do not need to call to_s on the string... | Aaron Patterson | 2010-12-16 | 1 | -2/+2 |
* | build SQL AST nodes rather than generate strings | Aaron Patterson | 2010-12-16 | 1 | -10/+8 |
* | construct_joins no longer needs an argument | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
* | supporting arel AST nodes when building join statements | Aaron Patterson | 2010-12-16 | 1 | -15/+17 |
* | just copy the joins to the list | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
* | taking advantage of the JoinSource node in the SQL AST | Aaron Patterson | 2010-12-16 | 2 | -15/+6 |
* | just use the regexp directly | Aaron Patterson | 2010-12-16 | 1 | -6/+4 |
* | combine regexp | Aaron Patterson | 2010-12-16 | 1 | -4/+2 |
* | move ivar to initialize, use triple dot rather than minus | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
* | explicitly set prefix | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
* | remove lasgn since AST is mutated | Aaron Patterson | 2010-12-16 | 1 | -2/+8 |