lib/unread/reader_scopes.rb in unread-0.6.1 vs lib/unread/reader_scopes.rb in unread-0.6.2

- old
+ new

@@ -10,10 +10,10 @@ AND read_marks.user_id = #{quoted_table_name}.#{quoted_primary_key} AND read_marks.timestamp >= '#{connection.quoted_date readable.send(readable.class.readable_options[:on])}'" end def have_not_read(readable) - join_read_marks(readable).where("read_marks.id IS NULL") + join_read_marks(readable).where('read_marks.id IS NULL') end def have_read(readable) join_read_marks(readable).where('read_marks.id IS NOT NULL') end \ No newline at end of file