aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association.rb
Commit message (Expand)AuthorAgeFilesLines
* remove the nil check from set_inverse_instanceAaron Patterson2013-12-121-1/+2
* fix typo, "state_state" should be "stale_state" [ci skip]Scott M2013-12-071-1/+1
* Checks to see if the record contains the foreign_key to set the inverse autom...Edo Balvers2013-11-161-1/+6
* add inversed accessor to association classDmitry Polushkin2013-10-131-2/+3
* inversed instance should not be reloaded after stale state was changedDmitry Polushkin2013-10-131-2/+5
* remove HABTM associationsAaron Patterson2013-10-021-1/+0
* add a specific factory method rather than using newAaron Patterson2013-07-231-1/+1
* Removed deprecated method scopedNeeraj Singh2013-07-011-5/+0
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-5/+1
* enhanced comments for foreign_key_present? methodNeeraj Singh2013-05-231-3/+4
* Set the inverse when association queries are refinedJon Leighton2013-05-101-1/+5
* Do not overwrite manually built records during one-to-one nested attribute as...Olek Janiszewski2013-05-031-4/+8
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-111-1/+1
|\
| * minor copy editingNeeraj Singh2013-03-301-1/+1
* | Merge pull request #9996 from mikz/masterJon Leighton2013-04-051-0/+1
|\ \ | |/ |/|
| * fix inverse_of association in block of new childMichal Cichra2013-04-011-0/+1
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-1/+2
|\ \
| * | explain method invertible_for [ci skip]Neeraj Singh2013-03-291-1/+2
* | | Do not use deprecate method [ci skip]Neeraj Singh2013-03-291-1/+1
* | | fix broken sentence [ci skip]Neeraj Singh2013-03-291-1/+1
| |/ |/|
* | Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-211-1/+1
|/
* No need to send public methodsAkira Matsuda2013-02-261-1/+1
* prevent mass assignment of polymorphic type when using `build`Yves Senn2012-11-221-1/+2
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-031-1/+1
|\
| * fix a typo in comments to ActiveRecord::Associations::Association.stale_stateAndrii Dovgaliuk2012-10-241-1/+1
* | Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-301-1/+1
* | Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-291-1/+1
|/
* Fix destructive side effects from marshaling an association caused by 65843e1...Jeremy Kemper2012-09-251-5/+2
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-3/+3
* removes usage of Object#in? from the code base (the method remains defined by...Xavier Noria2012-08-061-1/+1
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-1/+0
* s/scoped/scope/Jon Leighton2012-08-011-1/+7
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-0/+8
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-1/+1
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-8/+0
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-5/+16
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-1/+5
* Fix #5563. Should reflect the most recent change to either of association / id.kennyj2012-04-131-1/+2
* Some refactor for association.kennyj2012-04-121-7/+1
* Get a properly aliased_table_name, when we use a polymorphic association.kennyj2012-04-041-1/+1
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-12/+1
* Fix #5069 - Protect foreign key from mass assignment throught association bui...Jean Boussier2012-03-051-1/+2
* Initialize @stale_state to nil in associationCarlos Antonio da Silva2012-03-041-0/+1
* added failing tests for has_many, has_one and belongs_to associations with st...Jakub Kuźma2011-12-211-6/+1
* Allow nested attributes in associations to update values in it's owner object...Andrew Kaspick2011-12-141-0/+2
* Fix private methods which are delegated to. This previously worked because Mo...Jon Leighton2011-08-151-8/+8
* Don't construct association scope in initializer. This yields a big performan...Jon Leighton2011-07-071-6/+10
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-0/+9
* Allow polymorphic has_one to work when the association is set before the owne...Jon Leighton2011-06-081-3/+1