You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jonas, great upload gem. I really like it - was super easy to get started with. Thank you.
I am getting one error related to using it with mongomapper, but I realize you just added this support.
The error is 'Type error: can't modify frozen object' when doing User.destroy_all or User.first.destroy, etc. The error is only on destroy and the user actually gets destroyed, but tests fail because of the ugly error.
Following is the stacktrace with the rspec test I'm running. I had the same issues when running in merb -i -e test|development
Jonas, great upload gem. I really like it - was super easy to get started with. Thank you.
I am getting one error related to using it with mongomapper, but I realize you just added this support.
The error is 'Type error: can't modify frozen object' when doing User.destroy_all or User.first.destroy, etc. The error is only on destroy and the user actually gets destroyed, but tests fail because of the ugly error.
Following is the stacktrace with the rspec test I'm running. I had the same issues when running in merb -i -e test|development
http://gist.github.com/177890
I do not get the same error if I delete by doing: User.delete(@u.id) or User.delete_all
Possibly, it's related to MongoMapper's destroy method in lib/document.rb lines 302-308?:
def destroy
return false if frozen?
The text was updated successfully, but these errors were encountered: