我的范围是
scope :new_users, :conditions => {['look IS NULL OR look = ?',false]}
但我收到错误消息:
syntax error, unexpected '}', expecting tASSOC
我哪里错了?请更正。我正在使用 rails3.2
我的范围是
scope :new_users, :conditions => {['look IS NULL OR look = ?',false]}
但我收到错误消息:
syntax error, unexpected '}', expecting tASSOC
我哪里错了?请更正。我正在使用 rails3.2