New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mass_assign_any_attribute seems broken #114
Comments
Hi, that is very annoying. Looks like we're missing some test coverage. If you feel like adding a test-case that would save us some time and help us get round to it sooner. I suspect the fix would be to disable the Cheers, sam |
I ran into this also. Is anyone looking to work on this or should I submit a patch? |
I didn't know how to link it up to this on github, but I stuck this up #116 |
a workaround:
|
is there any pull request to address this issue? |
'mass_assign_any_attribute true' in the model seems broken.
It allows you to add the properties to a model instance, but 'changed?' is false, so the document does not get saved.
By using 'couchrest_attribute_will_change!' before a save/update call it works as expected
using 1.1.2 and rails 3.0.10 and 3.1.0
The text was updated successfully, but these errors were encountered: