Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 464

Show
Ignore:
Timestamp:
01/20/05 14:35:00 (4 years ago)
Author:
david
Message:

Fixed that find_all would produce invalid sql when called sequentialy #490 [Scott Baron]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/CHANGELOG

    r458 r464  
     1*SVN* 
     2 
     3* Fixed that find_all would produce invalid sql when called sequentialy #490 [Scott Baron] 
     4 
     5 
    16*1.5.1* (January 18th, 2005) 
    27 
  • trunk/activerecord/lib/active_record/associations/has_many_association.rb

    r417 r464  
    2121          records = @association_class.find_by_sql(@finder_sql) 
    2222        else 
    23           sql = @finder_sql 
     23          sql = @finder_sql.dup 
    2424          sql << " AND #{sanitize_sql(runtime_conditions)}" if runtime_conditions 
    2525          orderings ||= @options[:order]