Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid crash on embedded array document.

  • Loading branch information...
commit fb3b846a33dc9278e0a1ada49acc2fc43275f998 1 parent 4a922c1
Marius Seritan authored committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/rails_admin/adapters/mongoid.rb
View
2  lib/rails_admin/adapters/mongoid.rb
@@ -137,6 +137,8 @@ def properties
:datetime
when "Float"
:float
+ when "Array"
+ :string
else
# this will likely bomb, will fix as it does
field.type
Please sign in to comment.
Something went wrong with that request. Please try again.