Sha256: 1578dfb65fa79b3de1732c1e7e1ce5bb28972a3cdf28e78a2602fc8428761df9

Contents?: true

Size: 136 Bytes

Versions: 21

Compression:

Stored size: 136 Bytes

Contents

class Fan < ActiveRecord::Base
  attr_accessible :name, :team_ids

  has_and_belongs_to_many :teams

  validates_presence_of(:name)
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
rails_admin-0.4.9 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.8 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.7 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.6 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.5 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.4 spec/dummy_app/app/active_record/fan.rb
rails_admin-lbgraham-0.4.2 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.3 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.2 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.1 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.4.0 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.3.0 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.2.0 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.1.2 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.1.1 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.1.0 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.0.5 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.0.4 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.0.3 spec/dummy_app/app/active_record/fan.rb
rails_admin-0.0.2 spec/dummy_app/app/active_record/fan.rb