Ich bin gebrauchter Umfang where(address: [nil, ''], city: [nil, ''])
und ich AnfrageWie Verwenden von OR in ActiveRecord Rails 4.1.1?
WHERE ((`address`.`address` = '' OR `address`.`address` IS
NULL) AND (`address`.`city` = '' OR `address`.`city` IS
NULL))
ich AND
-OR
ersetzen muß. Wie erstelle ich eine Abfrage mit ActiveRecord?
http://stackoverflow.com/questions/17192829/does-rails-4-have-support-for-or- Abfragen – maicher