Skip to content
This repository

Jun 29, 2010

  1. Neeraj Singh

    splitting a really long line into multiple lines which is easy on eyes

    Signed-off-by: José Valim <>
    neerajdotname authored josevalim committed

Jun 16, 2010

  1. Rizwan Reza

    Adds title to activerecord/lib/active_record/associations/*

    rizwanreza authored

Mar 16, 2010

  1. Aaron Patterson

    clean up more warnings, remove unnecessary methods, fix eval line num…

    …bers. [#4193 state:resolved]
    Signed-off-by: wycats <>
    tenderlove authored wycats committed

Jan 17, 2010

  1. José Valim

    save(false) is gone, use save(:validate => false) instead.

    josevalim authored

Jan 01, 2010

  1. Pratik

    Use Arel::Table instead of ActiveRecord::Relation from HABTM and has_…

    lifo authored

Dec 25, 2009

  1. Pratik

    Rename Model.conditions and relation.conditions to .where

    lifo authored

Nov 13, 2009

  1. Jeremy Kemper

    Revert "Split arel_table into method to get a relation and another to…

    … memoize the default relation."
    This reverts commit bd51790.
    jeremy authored
  2. Jeremy Kemper

    Split arel_table into method to get a relation and another to memoize…

    … the default relation.
    jeremy authored

Nov 03, 2009

  1. Jeremy Kemper

    Arel::In -> Arel::Predicates::In

    jeremy authored

Aug 18, 2009

  1. Emilio Tagua

    has_many nullify associations keys using ARel.

    miloops authored

Aug 10, 2009

  1. Gabe da Silveira

    Fix that counter_cache breaks with has_many :dependent => :nullify.

    [#1196 state:committed]
    Signed-off-by: Jeremy Kemper <>
    gtd authored jeremy committed

Jun 30, 2009

  1. Pratik

    Revert "Revert "Generate proper :counter_sql from :finder_sql when th…

    …ere is a newline character immediately following 'SELECT' [#2118 state:resolved]""
    This reverts commit 80f1f86.
    The feature doesn't work on Postgres, so don't test it on Postgres.
    Also, Postgres compatibility is irrelevant to the ticket/patch in question.
    lifo authored

Jun 22, 2009

  1. Revert "Generate proper :counter_sql from :finder_sql when there is a…

    … newline character immediately following 'SELECT' [#2118 state:resolved]"
    This reverts commit 4851ca9.
    The tests do not pass for postgresql.
    Yehuda Katz + Carl Lerche authored

Jun 21, 2009

  1. Patrick Joyce

    Generate proper :counter_sql from :finder_sql when there is a newline…

    … character immediately following 'SELECT' [#2118 state:resolved]
    Signed-off-by: Pratik Naik <>
    KeeperPat authored lifo committed

May 04, 2009

  1. Murray Steele

    Providing support for :inverse_of as an option to associations.

    You can now add an :inverse_of option to has_one, has_many and belongs_to associations.  This is best described with an example:
    class Man < ActiveRecord::Base
      has_one :face, :inverse_of => :man
    class Face < ActiveRecord::Base
      belongs_to :man, :inverse_of => :face
    m = Man.first
    f = m.face
    Without :inverse_of m and would be different instances of the same object ( being pulled from the database again).  With these new :inverse_of options m and are the same in memory instance.
    Currently :inverse_of supports has_one and has_many (but not the :through variants) associations.  It also supplies inverse support for belongs_to associations where the inverse is a has_one and it's not a polymorphic.
    Signed-off-by: Murray Steele <>
    Signed-off-by: Jeremy Kemper <>
    h-lame authored jeremy committed

Feb 27, 2009

  1. David Heinemeier Hansson

    Fixed that autosave should validate associations even if master is in…

    …valid [#1930 status:committed]
    dhh authored

Oct 21, 2008

  1. Pratik

    Merge with docrails. Also add a rake task to generate guides in your …

    …rails application :
      rake doc:guides
    The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
    lifo authored

Sep 16, 2008

  1. Michael Koziarski

    Update the documentation to reflect the change handling :group earlier

    NZKoz authored

Sep 03, 2008

  1. Pratik

    Merge docrails

    lifo authored

Aug 28, 2008

  1. Ernie Miller

    Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 …

    [#831 state:resolved]
    Signed-off-by: Jeremy Kemper <>
    ernie authored jeremy committed
  2. Tarmo Tänav

    Implement count limit/offset support for has_many associations

    [#348 state:resolved]
    Signed-off-by: Jeremy Kemper <>
    tarmo authored jeremy committed

Aug 21, 2008

  1. Xavier Noria

    Fix has_many#count_records. [#865 state:resolved]

    Signed-off-by: Pratik Naik <>
    fxn authored lifo committed

Jul 09, 2008

  1. Cheah Chu Yeow

    Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]

    chuyeow authored jeremy committed

Jul 06, 2008

  1. André Arko

    Add has_many :primary_key option to allow setting the primary key on …

    …a has many association
    Signed-off-by: Michael Koziarski <>
    indirect authored NZKoz 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

May 29, 2008

  1. Pratik

    Ensure AssociationCollection#count works with empty condition. [#271

    …state:resolved] [Jan De Poorter]
    lifo authored

Apr 06, 2008

  1. Pratik

    Remove duplicate code from associations. [Pratik]

    git-svn-id: 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: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    lifo authored

Apr 05, 2008

  1. Pratik

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

    git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    lifo authored

Mar 24, 2008

  1. risk danger olson

    Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nk…

    git-svn-id: 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: 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: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 21, 2007

  1. Jeremy Kemper

    Dynamic finders on association collections respect association :limit…

    …. Closes #10227 [Jack Danger Canty]
    git-svn-id: 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: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored
Something went wrong with that request. Please try again.