Sha256: 93aaa1f6318ffe6e625e2254b888fb1add48e4afc642c5e7d3ba7121487e1867

Contents?: true

Size: 378 Bytes

Versions: 13

Compression:

Stored size: 378 Bytes

Contents

module Mongoid # :nodoc:
  module Relations #:nodoc:
    module Referenced #:nodoc:

      class In < Relations::One
        class << self
          def valid_options_with_parent_class
            valid_options_without_parent_class.push :custom_fields_parent_klass
          end
          alias_method_chain :valid_options, :parent_class
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
custom_fields-2.8.0 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.7.0 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.7.0.rc1 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.6.0 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.5.0 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.5.0.rc1 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc8 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc7 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc6 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc5 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc4 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc3 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb
custom_fields-2.4.0.rc2 lib/custom_fields/extensions/mongoid/relations/referenced/in.rb