Skip to content
Commits on Feb 13, 2011
  1. @jonleighton

    Deprecated support for interpolated association conditions with the :…

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

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

    spastorino committed
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 13, 2010
  1. @tenderlove
  2. @tenderlove

    avoiding symbol to proc again

    tenderlove committed
Commits on Aug 4, 2010
  1. @fxn
Commits on Jun 29, 2010
  1. @neerajdotname @josevalim

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

    neerajdotname committed with josevalim
    Signed-off-by: José Valim <>
Commits on Jun 16, 2010
  1. @rizwanreza
Commits on Mar 16, 2010
  1. @tenderlove @wycats

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

    tenderlove committed with wycats
    …bers. [#4193 state:resolved]
    Signed-off-by: wycats <>
Commits on Jan 17, 2010
  1. @josevalim
Commits on Jan 1, 2010
  1. @lifo
Commits on Dec 25, 2009
  1. @lifo
Commits on Nov 13, 2009
  1. @jeremy

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

    jeremy committed
    … memoize the default relation."
    This reverts commit bd51790.
  2. @jeremy
Commits on Nov 3, 2009
  1. @jeremy
Commits on Aug 18, 2009
  1. @miloops
Commits on Aug 10, 2009
  1. @gtd @jeremy

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

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

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

    lifo committed
    …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 committed
    … 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. @KeeperPat @lifo

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

    KeeperPat committed with lifo
    … character immediately following 'SELECT' [#2118 state:resolved]
    Signed-off-by: Pratik Naik <>
Commits on May 4, 2009
  1. @h-lame @jeremy

    Providing support for :inverse_of as an option to associations.

    h-lame committed with jeremy
    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. @dhh

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

    dhh committed
    …valid [#1930 status:committed]
Commits on Oct 21, 2008
  1. @lifo

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

    lifo committed
    …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. @NZKoz
Commits on Sep 3, 2008
  1. @lifo

    Merge docrails

    lifo committed
Commits on Aug 28, 2008
  1. @ernie @jeremy

    Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 …

    ernie committed with jeremy
    [#831 state:resolved]
    Signed-off-by: Jeremy Kemper <>
  2. @tarmo @jeremy

    Implement count limit/offset support for has_many associations

    tarmo committed with jeremy
    [#348 state:resolved]
    Signed-off-by: Jeremy Kemper <>
Commits on Aug 21, 2008
  1. @fxn @lifo

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

    fxn committed with lifo
    Signed-off-by: Pratik Naik <>
Commits on Jul 9, 2008
  1. @chuyeow @jeremy
Commits on Jul 6, 2008
  1. @indirect @NZKoz

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

    indirect committed with NZKoz
    …a has many association
    Signed-off-by: Michael Koziarski <>
Commits on Jun 26, 2008
  1. @indirect @jeremy
Commits on Jun 9, 2008
  1. @bkeepers @technoweenie
Commits on May 29, 2008
  1. @lifo

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

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

    Remove duplicate code from associations. [Pratik]

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

    Refactor HasManyThroughAssociation to inherit from HasManyAssociation…

    lifo committed
    …. 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. @lifo

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

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