Sha256: 775250f59e66f7706bf17191aacf5d1159fd2285b7c17804f660e933b06d9a57

Contents?: true

Size: 522 Bytes

Versions: 21

Compression:

Stored size: 522 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to :author, :foreign_key => "user_id", :class_name => "User"
end

class Post < ActiveRecord::Base
  belongs_to :author, :foreign_key => 'user_id', :class_name => "User"
end

class Article < ActiveRecord::Base
  belongs_to :author, :foreign_key => 'user_id', :class_name => "User"
end


# Models for licenses testing:
class Song < ActiveRecord::Base
end

class Tune < ActiveRecord::Base
end

class Concerto < ActiveRecord::Base
end

class Improvisation < ActiveRecord::Base
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cantango-0.9.4.7 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.4.6 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.4.5 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.4.3 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.4.2 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.4.1 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.4 spec/active_record/scenarios/shared/models/items.rb
cantango-0.9.3.2 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.9.5 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.9.4 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.9.3 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.9.2 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.9.1 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.9 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.8.1 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.8 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.7 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.6.2 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.6.1 spec/active_record/scenarios/shared/models/items.rb
cantango-0.8.6 spec/active_record/scenarios/shared/models/items.rb