mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 05:29:31 -04:00
Fixed locatable scope for pgsql (needs single quotes)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user