Fixed locatable scope for pgsql (needs single quotes)

This commit is contained in:
Skud
2013-08-07 16:46:21 +10:00
parent d5d004306b
commit f9f929e508

View File

@@ -26,7 +26,7 @@ class Member < ActiveRecord::Base
default_scope order("lower(login_name) asc")
scope :confirmed, where('confirmed_at IS NOT NULL')
scope :located, where('location <> ""')
scope :located, where("location <> ''")
scope :recently_signed_in, reorder('updated_at DESC')
# Include default devise modules. Others available are: