Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 24, 2006
  1. @jamis
Commits on Sep 5, 2006
  1. @dhh

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

    dhh authored
    … 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
  2. @dhh

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

    dhh authored
    …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
Commits on Sep 4, 2006
  1. @NZKoz
Commits on Aug 5, 2006
  1. @NZKoz

    Formally deprecate rich associations. [Koz]

    NZKoz authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 29, 2006
  1. @technoweenie

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

    technoweenie authored
    … new records. Closes #3692 [josh@hasmanythrough.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 6, 2006
  1. @jeremy
Commits on Apr 1, 2006
  1. @dhh

    Fixed that records returned from has_and_belongs_to_many associations…

    dhh authored
    … 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
Commits on Mar 30, 2006
  1. Do not implicitly mark recordss of has_many :through as readonly but …

    Marcel Molina authored
    …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
Commits on Mar 26, 2006
  1. @technoweenie
Commits on Mar 16, 2006
  1. @technoweenie

    remove some commented-out cruft

    technoweenie authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @technoweenie
Commits on Dec 13, 2005
  1. @dhh

    Added option inheritance for find calls on has_and_belongs_to_many an…

    dhh authored
    …d has_many assosociations [DHH] Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [DHH]
    
    Added form_remote_for (form_for meets form_remote_tag) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 3, 2005
  1. @dhh

    Added preliminary support for join models [DHH] Added preliminary sup…

    dhh authored
    …port for polymorphic associations [DHH] Refactored associations to use reflections to get DRYer, beware, major refactoring -- double check before deploying anything with this (all tests pass, but..)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 21, 2005
  1. @jeremy
Commits on Nov 6, 2005
  1. @dhh
  2. @jeremy

    r2915@asus: jeremy | 2005-11-06 05:02:53 -0800

    jeremy authored
     Rename Base.constrain to Base.with_scope so it doesn't conflict with existing concept of database constraints.  Make scoping more robust: uniform method => parameters, validated method names and supported finder parameters, raise exception on nested scopes.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 4, 2005
  1. @dhh

    Added extension capabilities to has_many and has_and_belongs_to_many …

    dhh authored
    …proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 20, 2005
  1. @jeremy

    HABTM finder sets :readonly => false. Closes #2525.

    jeremy authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 18, 2005
  1. @jeremy

    Parenthesize :conditions

    jeremy authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 14, 2005
  1. DRYed up Associations#clear. Closes #1906 [Caleb]

    Tobias Lütke authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 13, 2005
  1. @dhh

    Fixed various problems with has_and_belongs_to_many when using custom…

    dhh authored
    …er finder_sql #2094 [Florian Weber]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 11, 2005
  1. @dhh

    Use the inflector rules made for the purpose

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 22, 2005
  1. @dhh

    Dont be ambigious about the condition key

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

    Added support for calling constrained class methods on has_many and h…

    dhh authored
    …as_and_belongs_to_many collections #1764 [Tobias Luetke]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 18, 2005
  1. @jamis

    Allow unspecified join-table columns to use to their default values w…

    jamis authored
    …hen adding to a habtm collection
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 17, 2005
  1. @dhh

    Fixed incompatibility in DB2 adapter with the new limit/offset approach

    dhh authored
    #1718 [Maik Schmidt]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 5, 2005
  1. @dhh

    Added callbacks on push_with_attributes #1594 [Florian Weber]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 3, 2005
  1. @dhh

    Fixed that has_and_belongs_to_many didn't respect single table inheri…

    dhh authored
    …tance types #1081 [Florian Weber]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 18, 2005
  1. @dhh

    Fixed that adding a record to a has_and_belongs_to collection would a…

    dhh authored
    …lways save it -- now it only saves if its a new record #1203 [Alisdair McDiarmid]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 13, 2005
  1. @jeremy

    r1307@iwill: jeremy | 2005-06-13 19:05:00 -0700

    jeremy authored
     Ticket 1312 - Malformed habtm finder sql
     r1308@iwill:  jeremy | 2005-06-13 19:58:48 -0700
     Add a habtm with an unquoted condition to Project.
     r1309@iwill:  jeremy | 2005-06-13 19:59:46 -0700
     Space out habtm finder conditions.
     r1310@iwill:  jeremy | 2005-06-13 20:00:16 -0700
     Test habtm.find with quoted and unquoted conditions.
     r1311@iwill:  jeremy | 2005-06-13 20:00:25 -0700
     Update changelog
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 19, 2005
  1. @dhh

    Fixed that :delete_sql in has_and_belongs_to_many associations couldn…

    dhh authored
    …'t access record properties #1299 [Rick Olson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 14, 2005
  1. @dhh

    Order by is no longer a guarentee

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 13, 2005
  1. @dhh
  2. @dhh

    Removed the default order by id on has_and_belongs_to_many queries as…

    dhh authored
    … it could kill performance on large sets (you can still specify by hand with :order)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.