diff options
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 33293ac..53b34e9 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -12,7 +12,7 @@ module OpenTox include Mongoid::Document include Mongoid::Timestamps store_in collection: klass.downcase.pluralize - field :title, as: :name, type: String + field :name, type: String end OpenTox.const_set klass,c |