-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
Mongoid seems to have small breaking changes that affect mongoid-grid_fs, if I have the time I'll make a PR for compatibility. Rails 5 doesn't seem to introduce any breaking changes here, but I may be wrong.
Changes in Mongoid 6: https://jira.mongodb.org/browse/MONGOID-4268
Update:
The only issue currently seems to be here: grid_fs.rb:154
Chunk/file associations are acting improperly, a validation error is raised upon saving chunks (i.e. "File can't be blank"). This can be hackishly fixed by forcing the association with chunk.file = file. I'll have to dig deeper, the issue might be caused by a breaking change but I've been unable to find any cause.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels