Sha256: 94bceb0635c6b727dbb982b25049eb65aed154d73100083eeeecb0c9586a5a1f

Contents?: true

Size: 232 Bytes

Versions: 16

Compression:

Stored size: 232 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
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
migrant-1.1.1 test/rails_app/app/models/category.rb
migrant-1.1.0 test/rails_app/app/models/category.rb
migrant-1.0.2 test/rails_app/app/models/category.rb
migrant-1.0.1 test/rails_app/app/models/category.rb
migrant-1.0.0 test/rails_app/app/models/category.rb
migrant-0.2.4 test/rails_app/app/models/category.rb
migrant-0.2.3 test/rails_app/app/models/category.rb
migrant-0.2.2 test/rails_app/app/models/category.rb
migrant-0.2.1 test/rails_app/app/models/category.rb
migrant-0.2.0 test/rails_app/app/models/category.rb
migrant-0.1.5 test/rails_app/app/models/category.rb
migrant-0.1.4 test/rails_app/app/models/category.rb
migrant-0.1.3 test/rails_app/app/models/category.rb
migrant-0.1.2 test/rails_app/app/models/category.rb
migrant-0.1.1 test/rails_app/app/models/category.rb
migrant-0.1.0 test/rails_app/app/models/category.rb