einzige / sneaky-save

Allows to update complex objects without triggering validations or callbacks.
45 stars 30 forks source link

sneaky-save 0.0.5 does not support Rails 3.2 #4

Closed codener closed 9 years ago

codener commented 9 years ago

sneaky-save depends on activerecord >= 3.2.0. However, the method arel_attributes_with_values_for_create was (apparently) introduced in activerecord 4.

On my Rails 3.2.19 app, sneaky-save breaks with:

 NoMethodError:
       undefined method `arel_attributes_with_values_for_create' for #<SomeModel>

It would be great if you could update the activerecord dependency.

noma4i commented 9 years ago

Same for me.

einzige commented 9 years ago

sorry for delay, will fix this week.

einzige commented 9 years ago

@codener @noma4i thanks guys, fixed.

codener commented 9 years ago

Great, thanks.