Sha256: c3f35d7b6a9527d797fa8ab90d1e08e5eac8584caac247ab8cc97c404332a74c

Contents?: true

Size: 270 Bytes

Versions: 14

Compression:

Stored size: 270 Bytes

Contents

class Category < ActiveRecord::Base
  has_many :business_categories
  has_many :businesses, :through => :business_categories
  
  structure do
    title :index => true # Default type is a good 'ol varchar(255)
    summary
    serial_number 1234567891011121314
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
migrant-1.5.0 test/rails_app/app/models/category.rb
migrant-1.4.3 test/rails_app/app/models/category.rb
migrant-1.4.1 test/rails_app/app/models/category.rb
migrant-1.4.0 test/rails_app/app/models/category.rb
migrant-1.3.2 test/rails_app/app/models/category.rb
migrant-1.3.1 test/rails_app/app/models/category.rb
migrant-1.3.0 test/rails_app/app/models/category.rb
migrant-1.2.8 test/rails_app/app/models/category.rb
migrant-1.2.7 test/rails_app/app/models/category.rb
migrant-1.2.5 test/rails_app/app/models/category.rb
migrant-1.2.2 test/rails_app/app/models/category.rb
migrant-1.2.1 test/rails_app/app/models/category.rb
migrant-1.2.0 test/rails_app/app/models/category.rb
migrant-1.1.2 test/rails_app/app/models/category.rb