04c231570b
- Gemfile.lock is kicked out - rdoc/task fix Added support of in associations
6 lines
165 B
Ruby
6 lines
165 B
Ruby
class Post < ActiveRecord::Base
|
|
has_many :comments
|
|
has_many :admin_comments, class_name: "Comment", :conditions => { :author => "Admin" }
|
|
has_many :people
|
|
end
|