Skip to content

Instantly share code, notes, and snippets.

@jacqui
Created Jun 3, 2010
Embed
What would you like to do?
Using a Hash type of key in a MongoMapper document
class Form
include MongoMapper::Document
key :fields, Hash
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment