Permalink
Browse files

Changed name of 'read' named scope in the message model as it was cla…

…shing with an existing method.
  • Loading branch information...
1 parent c81412f commit 02673e33e6a77c726982a4f92f8f455eee422e58 @jongilbraith committed Nov 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/professionalnerd/simple_private_messages/private_message_extensions.rb
@@ -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

0 comments on commit 02673e3

Please sign in to comment.