Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 20, 2009
  1. Pratik

    Ensure JoinAssociation uses aliased table name when multiple associat…

    lifo authored
    …ions have hash conditions on the same table
Commits on Mar 11, 2009
  1. Jeremy Kemper
Commits on Nov 15, 2008
  1. Will Bryant Michael Koziarski

    Moved the * strings out of construct_finder_sql to a new default_sele…

    willbryant authored NZKoz committed
    …ct method so it can be overridden by plugins cleanly
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1371 state:resolved]
Commits on Nov 6, 2008
  1. Joshua Peek
Commits on Oct 29, 2008
  1. David Heinemeier Hansson
Commits on Oct 27, 2008
  1. David Heinemeier Hansson

    Fixed that serialized strings should never be type-casted (i.e. turni…

    dhh authored
    …ng "Yes" to a boolean)(Andreas Korth) [#857 state:committed]
Commits on Oct 24, 2008
  1. Michael Koziarski

    Fixed issue where block is not called on the very first invocation of…

    Ken Miller authored NZKoz committed
    … a find_or_create_by_ automatic finder.
    
    [#1224 state:committed]
Commits on Oct 16, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Oct 5, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Oct 3, 2008
  1. Eloy Durán Michael Koziarski

    Dynamic finders should use the ActiveRecord::Base::find method instea…

    alloy authored NZKoz committed
    …d of ::find_initial, :find_last, and ::find_all.
    
    This is so when people override ActiveRecord::Base::find, the new ::find method will also be invoked by the dynamic finders.
    Associations for instance do go through ::find, so this makes it more consistent.
    Also removed the unnecessary deprecation silence blocks.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    
    [#1162 state:committed]
Commits on Sep 24, 2008
  1. Michael Koziarski

    Allowed passing arrays-of-strings to :join everywhere. Merge duplicat…

    Pivotal Labs authored NZKoz committed
    …e join strings to avoid table aliasing problems.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1077 state:committed]
Commits on Sep 21, 2008
  1. Hongli Lai Pratik

    Add Model#delete instance method, similar to Model.delete class metho…

    FooBarWidget authored lifo committed
    …d. [#1086 state:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Sep 14, 2008
  1. Geoff Buesing
Commits on Sep 11, 2008
  1. Manfred Stienstra Michael Koziarski

    Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte:…

    Manfred authored NZKoz committed
    …:Chars values.
    
    - Adds String#acts_like_string?
    - Adds Chars#acts_like_string?
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1029 state:committed]
Commits on Sep 10, 2008
  1. Tarmo Tänav Michael Koziarski

    Support :limit on update_all so that has_many with :limit can be safe…

    tarmo authored NZKoz committed
    …ly updated
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
  2. David Heinemeier Hansson

    Missing doc updates

    dhh authored
  3. Emilio Tagua David Heinemeier Hansson

    Added find_last_by dynamic finder [status:committed #762]

    miloops authored dhh committed
    Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Commits on Sep 8, 2008
  1. Jeremy Kemper

    Revert "Revert "Raise UnknownAttributeError when unknown attributes a…

    jeremy authored
    …re supplied via mass assignment""
    
    This reverts commit 41efd73.
Commits on Sep 7, 2008
  1. Jeremy Kemper

    Revert "Raise UnknownAttributeError when unknown attributes are suppl…

    jeremy authored
    …ied via mass assignment"
    
    This reverts commit 108db00.
Commits on Sep 5, 2008
  1. David Heinemeier Hansson
  2. David Heinemeier Hansson
Commits on Sep 3, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Sep 2, 2008
  1. Clemens Kofler Jeremy Kemper

    Some performance goodness for inheritable attributes.

    clemens authored jeremy committed
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 29, 2008
  1. Nick Sieger
Commits on Aug 28, 2008
  1. Andrew White Jeremy Kemper

    Merge scoped :joins together instead of overwriting them. May expose …

    pixeltrix authored jeremy committed
    …scoping bugs in your code!
    
    [#501 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 26, 2008
  1. Josh Susser Jeremy Kemper

    add dynamic finder bang version to raise RecordNotFound

    joshsusser authored jeremy committed
    [#905 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. Josh Susser Jeremy Kemper

    refactor dynamic finder name matching into its own class

    joshsusser authored jeremy committed
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 22, 2008
  1. Josh Susser Jeremy Kemper

    coerce blank strings to nil values for boolean and integer fields

    joshsusser authored jeremy committed
    [#860 state:resolved]
  2. Jeremy Kemper
  3. Jeremy Kemper
  4. Jeremy Kemper

    Revert "coerce blank strings to nil values for boolean and integer fi…

    jeremy authored
    …elds"
    
    This reverts commit aee1463.
    
    [#860 state:incomplete]
Commits on Aug 21, 2008
  1. Josh Susser Michael Koziarski

    coerce blank strings to nil values for boolean and integer fields

    joshsusser authored NZKoz committed
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
  2. Sven Fuchs
  3. Philip Hallstrom Pratik

    Fix generated WHERE IN query for named scopes. [#583 state:resolved]

    phallstrom authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Aug 20, 2008
  1. Sven Fuchs

    Added Base.human_name method

    Iain Hecker authored svenfuchs committed
Something went wrong with that request. Please try again.