diff --git a/spec/dummy/app/models/post.rb b/spec/dummy/app/models/post.rb index 5d6bbd4..acab7f4 100644 --- a/spec/dummy/app/models/post.rb +++ b/spec/dummy/app/models/post.rb @@ -1,5 +1,5 @@ class Post < ActiveRecord::Base has_many :comments - has_many :admin_comments, class_name: "Comment", :conditions => { :author => "Admin" } + has_many :admin_comments, :class_name => "Comment", :conditions => { :author => "Admin" } has_many :people end