Make sure that the tests can run on all platforms, do not use 1.9 hash syntax.
This commit is contained in:
parent
52525b0715
commit
dece4624fb
@ -1,5 +1,5 @@
|
|||||||
class Post < ActiveRecord::Base
|
class Post < ActiveRecord::Base
|
||||||
has_many :comments
|
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
|
has_many :people
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user