Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 13, 2011
  1. Jon Leighton

    Deprecated support for interpolated association conditions with the :…

    jonleighton authored
    …conditions => 'foo = #{bar}' syntax, and added the new interpolation syntax which is :conditions => proc { "foo = #{bar}" }.
Commits on Aug 14, 2010
  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino authored
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 13, 2010
  1. Aaron Patterson
  2. Aaron Patterson
Commits on Aug 4, 2010
  1. Xavier Noria
Commits on Jun 29, 2010
  1. Neeraj Singh José Valim

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

    neerajdotname authored josevalim committed
    Signed-off-by: José Valim <>
Commits on Jun 16, 2010
  1. Rizwan Reza
Commits on Mar 16, 2010
  1. Aaron Patterson Yehuda Katz

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

    tenderlove authored wycats committed
    …bers. [#4193 state:resolved]
    Signed-off-by: wycats <>
Commits on Jan 17, 2010
  1. José Valim
Commits on Jan 1, 2010
  1. Pratik
Commits on Dec 25, 2009
  1. Pratik
Commits on Nov 13, 2009
  1. Jeremy Kemper

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

    jeremy authored
    … memoize the default relation."
    This reverts commit bd51790.
  2. Jeremy Kemper
Commits on Nov 3, 2009
  1. Jeremy Kemper
Commits on Aug 18, 2009
  1. Emilio Tagua
Commits on Aug 10, 2009
  1. Gabe da Silveira Jeremy Kemper

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

    gtd authored jeremy committed
    [#1196 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Jun 30, 2009
  1. Pratik

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

    lifo authored
    …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.
Commits on Jun 22, 2009
  1. Revert "Generate proper :counter_sql from :finder_sql when there is a…

    Yehuda Katz + Carl Lerche authored
    … newline character immediately following 'SELECT' [#2118 state:resolved]"
    This reverts commit 4851ca9.
    The tests do not pass for postgresql.
Commits on Jun 21, 2009
  1. Patrick Joyce Pratik

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

    KeeperPat authored lifo committed
    … character immediately following 'SELECT' [#2118 state:resolved]
    Signed-off-by: Pratik Naik <>
Commits on May 4, 2009
  1. Murray Steele Jeremy Kemper

    Providing support for :inverse_of as an option to associations.

    h-lame authored jeremy committed
    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 <>
Commits on Feb 27, 2009
  1. David Heinemeier Hansson
Commits on Oct 21, 2008
  1. Pratik

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

    lifo authored
    …rails application :
      rake doc:guides
    The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
Commits on Sep 16, 2008
  1. Michael Koziarski
Commits on Sep 3, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Aug 28, 2008
  1. Ernie Miller Jeremy Kemper

    Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 …

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

    Implement count limit/offset support for has_many associations

    tarmo authored jeremy committed
    [#348 state:resolved]
    Signed-off-by: Jeremy Kemper <>
Commits on Aug 21, 2008
  1. Xavier Noria Pratik

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

    fxn authored lifo committed
    Signed-off-by: Pratik Naik <>
Commits on Jul 9, 2008
  1. Cheah Chu Yeow Jeremy Kemper
Commits on Jul 6, 2008
  1. André Arko Michael Koziarski

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

    indirect authored NZKoz committed
    …a has many association
    Signed-off-by: Michael Koziarski <>
Commits on Jun 26, 2008
  1. André Arko Jeremy Kemper
Commits on Jun 9, 2008
  1. Brandon Keepers risk danger olson

    fix eager loading with dynamic finders

    bkeepers authored technoweenie committed
Commits on May 29, 2008
  1. Pratik

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

    lifo authored
    …state:resolved] [Jan De Poorter]
Commits on Apr 6, 2008
  1. Pratik

    Remove duplicate code from associations. [Pratik]

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

    Refactor HasManyThroughAssociation to inherit from HasManyAssociation…

    lifo authored
    …. Association callbacks and <association>_ids= now work with hm:t. Closes #11516 [rubyruy]
    git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 5, 2008
  1. Pratik

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

    lifo authored
    git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.