diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-08-25 17:20:55 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-08-25 17:20:55 +0200 |
commit | f8faf510b4574df1a00fa61a9f0a1681fc2f4857 (patch) | |
tree | acdbe6666ca5f528be368c6f9fdf4d7fb51d031e /lib/opentox.rb | |
parent | 8c6c59980bc82dc2177147f2fe34adf8bfbc1539 (diff) |
Experiments added
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 |