method

add_user_provided_columns

rails latest stable - Class: ActiveRecord::AttributeDecorators::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

add_user_provided_columns(*)
private

No documentation available.

# File activerecord/lib/active_record/attribute_decorators.rb, line 27
      def add_user_provided_columns(*)
        super.map do |column|
          decorated_type = attribute_type_decorations.apply(column.name, column.cast_type)
          column.with_type(decorated_type)
        end
      end