Есть ли способы использовать виртуальные атрибуты в качестве условий в поиске Rails?Рубин на рельсах | Виртуальные атрибуты в условиях
Например:
Friend.find(:first, conditions: { full_name: 'Chandler Bing' })
Friend.where(login: '[email protected]', password: 'secret')
# `full_name' and `password' are virtual attributes
Спасибо.