Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sferik/rails_admin
Browse files Browse the repository at this point in the history
  • Loading branch information
gunn committed Oct 2, 2012
2 parents 8996830 + bf63c12 commit bd6e6c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rails_admin/adapters/mongoid.rb
Expand Up @@ -251,6 +251,7 @@ def type_lookup(name, field)
"DateTime" => { :type => :datetime },
"Float" => { :type => :float },
"Hash" => { :type => :serialized },
"Money" => { :type => :serialized },
"Integer" => { :type => :integer },
"Object" => (
if associations.find{|a| a[:type] == :belongs_to && a[:foreign_key] == name.to_sym}
Expand Down

0 comments on commit bd6e6c9

Please sign in to comment.