Э
Size: a a a
Э
I
Ж
МБ
Ж
S
D
🌑
DM
S
b
SM
СТ
select *
from _sale s
where not exists(
select id from _adsale a where a.replaceid = s.id
);
class Sale
scope :actual, lambda {
where('NOT EXISTS(:query)', { query: Legacy::Adsale.select(1).where('replaceid=`_sale`.id') })
}
_sale
.id, как-то можно это место переписать более лаконичней что-ли?S
VK
gem install deviseтут все ок
bundle installтут тоже
rails generate devise:install
Could not find generator 'devise:install'.
Run `bin/rails generate --help` for more options.
И
В
VK
Р