1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

don't merge! in collection#new, avoids mucking with mocked data

This commit is contained in:
geemus 2010-05-10 11:57:35 -07:00
parent 2bace47291
commit 877843bd9e

View file

@ -130,7 +130,7 @@ module Fog
def new(attributes = {})
model.new(
attributes.merge!(
attributes.merge(
:collection => self,
:connection => connection
)