Sha256: deb26567310893953fbfe81b6a788776930ca83fc200d3747ed17e388556189a

Contents?: true

Size: 352 Bytes

Versions: 5

Compression:

Stored size: 352 Bytes

Contents

class AutoMigration1 < ActiveRecord::Base
  attr_accessible :string_field, :integer_field

  has_fields do
    integer :integer_field
    float :float_field
    boolean :boolean_field
    string :string_field
    text :text_field
    datetime :datetime_field
    date :date_field
    time :time_field
  end

  add_field :integer, :additional_field
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
automigration-1.1.4 spec/dummy/app/models/auto_migration1.rb
automigration-1.1.3 spec/dummy/app/models/auto_migration1.rb
automigration-1.1.2 spec/dummy/app/models/auto_migration1.rb
automigration-1.1.1 spec/dummy/app/models/auto_migration1.rb
automigration-1.1.0 spec/dummy/app/models/auto_migration1.rb