Skip to content

Commit

Permalink
comments disabled. Moped::BSON -> BSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhomart committed Nov 6, 2014
1 parent 4537c75 commit 15ece19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/active_admin/mongoid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require 'rails'
require 'mongoid'

require 'active_admin/mongoid/comments'
# require 'active_admin/mongoid/comments'
require 'active_admin/mongoid/adaptor'
require 'active_admin/mongoid/filter_form_builder'
require 'active_admin/mongoid/resource'
Expand Down
2 changes: 1 addition & 1 deletion lib/active_admin/mongoid/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ColumnWrapper < SimpleDelegator
def type
_super = super
case _super
when Moped::BSON::ObjectId, Object
when BSON::ObjectId, Object
:string
else
_super.name.underscore.to_sym
Expand Down

0 comments on commit 15ece19

Please sign in to comment.