1. Added two failing tests that illustrate the problem. 2. Fixed issue by changing serializable hash to use column.to_sym instead of string interpolation (which overwrites the method definition at the time mount_uploader is called) 3. Fix an unrelated issue that caused my tests to fail: check that options are defined before sending : (which nil doesn't repond to)
# By Erik Michaels-Ober # Via Erik Michaels-Ober * sferik/update_mongoid-grid_fs: Specify runtime dependencies > 1.0 with 2 digits of precision Update rake dependency to version ~> 10.0 Update mongoid-grid_fs dependency to version ~> 1.7.0 # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
Assume dependencies follow semantic versioning best practices.