-
Notifications
You must be signed in to change notification settings - Fork 165
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
Image uploading isn't working using embedded documents #113
Comments
Finally I switched from Padrino to Rails and now it is working! |
@croonix Thanks for the report. I have almost zero experience with Padrino. If Padrino was something that was expected to work (because it would have worked with just vanilla Carrierwave and ActiveRecord), I'm open to a pull-request and accompanying unit test. |
ok thank you! I have the same issue if I am using third-nested embedded documents with rails3. |
Just triple-deep embedded docs or also in combination with nested_attributes? |
I've created a repository croonix/carrierwave_test for testing. Could you please clone this example project for me and check if it's working? I've tried to reproduce this behavior but now I'm getting the error
|
You may got here looking for the |
Problem happens to be in https://github.com/carrierwaveuploader/carrierwave-mongoid/blob/master/lib/carrierwave/mongoid.rb:
So as a temporary fix I override Does anybody know why |
its __metadata in mongoid 4 i think |
see #121 |
Closing stale issues. |
I have problems with uploading pictures. It works only if the mount_uploader is directly set in the band model.
view:
models:
controller:
getting following params:
The text was updated successfully, but these errors were encountered: