Skip to content

Commit

Permalink
Fix: Rubocop offences
Browse files Browse the repository at this point in the history
  • Loading branch information
dalpo committed Sep 4, 2015
1 parent 1e1a22d commit 06a2ef0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rails_admin/config/fields/types/bson_object_id.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require 'rails_admin/config/fields/types/string'
begin
require 'mongoid' rescue nil
rescue Exception => e
# puts "[RailsAdmin] #{e.message}"
require 'mongoid'
rescue LoadError => e
puts "[RailsAdmin] #{e.message}"
end

module RailsAdmin
Expand Down

0 comments on commit 06a2ef0

Please sign in to comment.