Sha256: b19c8e2d6be9359c31860a6d3dab3d3320a29917982d73af8948b3f339019a39
Contents?: true
Size: 540 Bytes
Versions: 6
Compression:
Stored size: 540 Bytes
Contents
begin require 'rails_admin/adapters/mongoid' begin require 'rails_admin/adapters/mongoid/property' rescue Exception => e end module RailsAdmin module Adapters module Mongoid class Property alias_method :type_without_russian_phone, :type def type if property.type.class.name == "RussianPhone::Field" :string else type_without_russian_phone end end end end end end rescue Exception => e end
Version data entries
6 entries across 6 versions & 1 rubygems