Matt-Yorkley
103902c006
Replace deprecated arguments in #find_by
Failure/Error: enterprise = Enterprise.find_by(name: enterprise_name, select: 'id, is_primary_producer')
ActiveRecord::StatementInvalid:
PG::UndefinedColumn: ERROR: column enterprises.select does not exist
LINE 1: ...HERE "enterprises"."name" = 'User Enterprise' AND "enterpris...
: SELECT "enterprises".* FROM "enterprises" WHERE "enterprises"."name" = 'User Enterprise' AND "enterprises"."select" = 'id, is_primary_producer' LIMIT 1
# ./app/models/product_import/spreadsheet_data.rb:48:in `block in create_enterprises_index'
# ./app/models/product_import/spreadsheet_data.rb:43:in `each'
2020-01-15 16:39:33 +01:00
..
2019-12-08 17:36:21 +00:00
2019-11-12 11:57:54 +00:00
2019-05-08 11:38:49 +10:00
2020-01-15 16:39:33 +01:00
2019-12-28 18:13:04 +00:00
2019-06-15 20:45:57 +01:00
2019-11-10 18:42:43 +00:00
2012-03-27 10:10:26 +11:00
2013-08-12 10:00:35 +10:00
2019-05-28 12:57:29 +01:00
2019-11-10 18:42:43 +00:00
2019-05-28 12:57:29 +01:00
2019-10-18 21:15:11 +01:00
2019-11-10 18:42:43 +00:00
2019-05-28 12:57:29 +01:00
2019-05-28 12:57:29 +01:00
2019-10-18 21:15:11 +01:00
2019-11-10 18:42:43 +00:00
2020-01-15 12:57:38 +01:00
2019-07-03 20:18:00 +01:00
2019-05-28 15:55:13 +01:00
2019-05-28 12:57:29 +01:00
2019-11-10 18:42:43 +00:00
2019-10-18 21:15:11 +01:00
2019-05-28 12:57:29 +01:00
2019-10-18 21:15:11 +01:00
2019-10-18 21:15:11 +01:00
2019-05-28 12:57:29 +01:00
2019-05-28 12:57:29 +01:00
2020-01-10 08:59:44 +11:00
2019-11-10 18:42:43 +00:00
2020-01-15 12:57:38 +01:00
2019-11-10 18:42:43 +00:00
2018-02-09 14:44:07 +11:00
2017-09-23 14:58:35 +10:00
2020-01-15 12:57:38 +01:00
2019-11-10 18:42:43 +00:00
2019-05-28 12:57:29 +01:00
2019-05-28 12:57:29 +01:00
2020-01-15 12:57:38 +01:00