Skip to content
This repository

Jan 17, 2009

  1. Luke Ludwig

    Cache columns for has_and_belongs_to_many associations

    This avoids repeatedly calling SHOW COLUMNS when the association is queried
    [#1738 state:committed]
    lukeludwig authored NZKoz committed

Aug 28, 2008

  1. Ernie Miller

    Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 …

    …support.
    
    [#831 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    ernie authored jeremy committed

Aug 16, 2008

  1. Nathan Witmer

    Updated has_and_belongs_to_many association to fix :finder_sql interp…

    …olation. [#848 state:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
    zerowidth authored lifo committed

Jun 26, 2008

  1. André Arko

    Extract owner_quoted_id so it can be overridden. [#292 state:committed]

    indirect authored jeremy committed

Jun 09, 2008

  1. Brandon Keepers

    fix eager loading with dynamic finders

    bkeepers authored technoweenie committed

Apr 23, 2008

  1. David Dollar

    Fixes a subtle bug when using symbols for key definitions in habtm as…

    …sociations
    ddollar authored NZKoz committed

Apr 06, 2008

  1. Pratik

    Remove duplicate code from associations. [Pratik]

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    lifo authored
  2. Pratik

    Refactor HasManyThroughAssociation to inherit from HasManyAssociation…

    …. Association callbacks and <association>_ids= now work with hm:t. Closes #11516 [rubyruy]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    lifo authored

Apr 05, 2008

  1. Pratik

    Ensure HABTM#create and HABTM#build do not load entire association. […

    …Pratik]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    lifo authored

Apr 04, 2008

  1. Michael Koziarski

    Make HABTM#create behave the same as << with after_add callbacks. Clo…

    …ses #11374 [freels]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Jan 18, 2008

  1. risk danger olson

    Ensure that modifying has_and_belongs_to_many actions clear the query…

    … cache. Closes #10840 [john.andrews]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    technoweenie authored

Jan 05, 2008

  1. Jeremy Kemper

    More thoroughly quote table names. Exposes some issues with sqlite2 a…

    …dapter. Closes #10698.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Dec 22, 2007

  1. Jeremy Kemper

    Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized i…

    …nstance vars
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Dec 05, 2007

  1. David Heinemeier Hansson

    Fixed that habtm associations should be able to set :select as part o…

    …f their definition and have that honored [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Nov 21, 2007

  1. Jeremy Kemper

    Dynamic finders on association collections respect association :limit…

    …. Closes #10227 [Jack Danger Canty]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored
  2. Michael Koziarski

    Make Dynamic Finders on Association Collections Respect Association :…

    …order [patrick.t.joyce, technoweenie]. Closes #10211
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Oct 16, 2007

  1. Jeremy Kemper

    Refactor association create and build so before & after callbacks beh…

    …ave consistently. Closes #8854.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Sep 28, 2007

  1. David Heinemeier Hansson

    Fixed spelling errors (closes #9706) [tarmo/rmm5t]

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Sep 18, 2007

  1. Michael Koziarski

    Stop users from calling .create on a has_many / habtm association whe…

    …n the owner is a new_record?
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Aug 28, 2007

  1. Michael Koziarski

    Formatting, grammar and spelling fixes for the associations documenta…

    …tion. [seanhussey] Closes #8899
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Aug 07, 2007

  1. Michael Koziarski

    Make habtm respect the :select option. Closes #9207. [Aleksey Kondrat…

    …enko]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Jul 24, 2007

  1. David Heinemeier Hansson

    Refactored in use of extract_options! (closes #9079) [josh]

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Jul 07, 2007

  1. Michael Koziarski

    Move from select * to select tablename.* to avoid clobbering IDs. Clo…

    …ses #8889 [dasil003]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Jun 11, 2007

  1. Jeremy Kemper

    Remove deprecated push_with_attributes.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 19, 2006

  1. Jeremy Kemper

    Simplify association proxy implementation by factoring construct_scop…

    …e out of method_missing. Closes #6643.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 24, 2006

  1. Jamis Buck

    update deprecations to include alternative methods (where available)

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis authored

Sep 05, 2006

  1. David Heinemeier Hansson

    Backed out of new_record? to new? transformation as it would screw up…

    … existing models that did boolean calls on "new" attributes [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored
  2. David Heinemeier Hansson

    Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::B…

    …ase.new? (old version still works until Rails 2.0) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Sep 04, 2006

  1. Michael Koziarski

    Rename quote to quote_value so the name can be used in AR models. #3628

    … [Koz]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Aug 05, 2006

  1. Michael Koziarski

    Formally deprecate rich associations. [Koz]

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

May 29, 2006

  1. risk danger olson

    Fix the has_and_belongs_to_many #create doesn't populate the join for…

    … new records. Closes #3692 [josh@hasmanythrough.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de

May 06, 2006

  1. Jeremy Kemper

    Allow :uniq => true with has_many :through associations.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Apr 01, 2006

  1. David Heinemeier Hansson

    Fixed that records returned from has_and_belongs_to_many associations…

    … with additional attributes should be marked as read only (fixes #4512) [DHH] DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Mar 30, 2006

  1. Do not implicitly mark recordss of has_many :through as readonly but …

    …do mark habtm records as readonly (eventually only on join tables without rich attributes).
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Mar 26, 2006

  1. risk danger olson

    Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x. …

    …Closes #4348 [Rick]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    technoweenie authored
Something went wrong with that request. Please try again.