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

Changeset 6570

Show
Ignore:
Timestamp:
04/24/07 16:06:41 (1 year ago)
Author:
rick
Message:

dont bother merging in prefix_options

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activeresource/lib/active_resource/base.rb

    r6568 r6570  
    144144          collection = connection.get(collection_path(prefix_options, query_options)) || [] 
    145145          collection.collect! do |element| 
    146             returning new(element.merge(prefix_options)) do |resource| 
     146            returning new(element) do |resource| 
    147147              resource.prefix_options = prefix_options 
    148148            end