Sha256: 84f8fc0aa6b1d9b89f9e5170c30286d7110be1212df80aa2f6b2e6d76022d470

Contents?: true

Size: 168 Bytes

Versions: 10

Compression:

Stored size: 168 Bytes

Contents

class Post < ActiveRecord::Base
  has_many :comments
  has_many :admin_comments, :class_name => "Comment", :conditions => { :author => "Admin" }
  has_many :people
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cocoon-1.1.2 spec/dummy/app/models/post.rb
cocoon-1.1.1 spec/dummy/app/models/post.rb
cocoon-1.1.0 spec/dummy/app/models/post.rb
cocoon-1.0.22 spec/dummy/app/models/post.rb
cocoon-1.0.21 spec/dummy/app/models/post.rb
cocoon-1.0.20 spec/dummy/app/models/post.rb
cocoon-1.0.19 spec/dummy/app/models/post.rb
cocoon-1.0.18 spec/dummy/app/models/post.rb
cocoon-1.0.17 spec/dummy/app/models/post.rb
cocoon-1.0.16 spec/dummy/app/models/post.rb