method

new

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: Rails::Generator::GeneratedAttribute
new(name, type) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails_generator/generated_attribute.rb, line 8
      def initialize(name, type)
        @name, @type = name, type.to_sym
        @column = ActiveRecord::ConnectionAdapters::Column.new(name, nil, @type)
      end
Register or log in to add new notes.