Sha256: d9a53983fc937a364be3a910a36e91043fa3598a5724f72756bde773623f075f

Contents?: true

Size: 296 Bytes

Versions: 12

Compression:

Stored size: 296 Bytes

Contents

class Project < ActiveRecord::Base
  has_and_belongs_to_many :developers, :uniq => true
  has_and_belongs_to_many :developers_named_david, :class_name => "Developer", :conditions => "name = 'David'", :uniq => true
end

class SpecialProject < Project
  def hello_world
    "hello there!"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
activerecord-1.10.1 test/fixtures/project.rb
activerecord-1.10.0 test/fixtures/project.rb
activerecord-1.2.0 test/fixtures/project.rb
activerecord-1.3.0 test/fixtures/project.rb
activerecord-1.4.0 test/fixtures/project.rb
activerecord-1.7.0 test/fixtures/project.rb
activerecord-1.9.0 test/fixtures/project.rb
activerecord-1.8.0 test/fixtures/project.rb
activerecord-1.6.0 test/fixtures/project.rb
activerecord-1.5.1 test/fixtures/project.rb
activerecord-1.5.0 test/fixtures/project.rb
activerecord-1.9.1 test/fixtures/project.rb