class RailsAdmin::Adapters::Mongoid::Property
Public Instance Methods
type()
click to toggle source
# File lib/mongoid_money_field/rails_admin.rb, line 12 def type if property.type.to_s == 'Money' || property.type.class.name == 'MoneyType' :money_field else type_without_money_field end end
Also aliased as: type_without_money_field