ActiveRecord::StatementInvalid in ProductController#objects

Mysql2::Error: Unknown column 'offers.entrance_type' in 'where clause': SELECT COUNT(*) FROM `offers` WHERE `offers`.`isdelete` = 0 AND `offers`.`offer_type` = 'Помещение в аренду' AND (price >= 0) AND (price < 5000000) AND (space <= 5000) AND `offers`.`entrance_type` = 'Отдельный'

Extracted source (around line #1343):
1341
1342
1343
1344
1345
1346
          
count = @offers.size
end

Rails.root: /var/www/admin/www/bridgeford.ru/current

Application Trace | Framework Trace | Full Trace
app/controllers/product_controller.rb:1343:in `filer_func'
app/controllers/product_controller.rb:380:in `objects'

Request

Parameters:

{"url"=>"arenda-pomeshcheniya-s-otdelnym-vhodom"}

Response

Headers:

None