Skip to content

Commit

Permalink
Changed name of 'read' named scope in the message model as it was cla…
Browse files Browse the repository at this point in the history
…shing with an existing method.
  • Loading branch information
Jon Gilbraith committed Nov 10, 2009
1 parent c81412f commit 02673e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ def is_private_message(options = {})
include InstanceMethods
end

named_scope :read, :conditions => "read_at IS NOT NULL"
named_scope :already_read, :conditions => "read_at IS NOT NULL"
named_scope :unread, :conditions => "read_at IS NULL"
end
end
Expand Down

0 comments on commit 02673e3

Please sign in to comment.