Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Support for Custom Field Types (Mongoid) #1260

fny opened this Issue · 2 comments

2 participants


Custom field types will run into "Need to map field #{field.type.to_s} for field name #{name} in #{model.inspect}" since the mappings are hardcoded in Adaptors::Mongoid#properties. If it makes any difference, I'm running Rails Admin master and Mongoid 2.4.

I've added my own bits to the block, but ideally one should be able to add custom mappings to the hash. I'd gladly make the addition, but I'm not sure of the preferred way to handle this (a config file of some sort?).


I agree.
It needs to be cleaned up in customizable way, for both AR and Mongoid.

@mshibuya mshibuya was assigned

Mongoid type matching logic was refactored in 875c9ba, so RA no longer complains with unknown field type.

@mshibuya mshibuya closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.