    # File lib/active_record/aggregations.rb, line 194
          def composed_of(part_id, options = {}, &block)
            options.assert_valid_keys(:class_name, :mapping, :allow_nil, :constructor, :converter)

            name        = part_id.id2name
            class_name  = options[:class_name]  || name.camelize
            mapping     = options[:mapping]     || [ name, name ]
            mapping     = [ mapping ] unless mapping.first.is_a?(Array)
            allow_nil   = options[:allow_nil]   || false
            constructor = options[:constructor] || :new
            converter   = options[:converter]   || block

            ActiveSupport::Deprecation.warn('The conversion block has been deprecated, use the :converter option instead.', caller) if block_given?

            reader_method(name, class_name, mapping, allow_nil, constructor)
            writer_method(name, class_name, mapping, allow_nil, converter)

            create_reflection(:composed_of, part_id, options, self)
          end