luisramos0
|
f63c7cf54f
|
Extract visible_orders_where_values to a private method
|
2019-12-29 19:01:44 +00:00 |
|
luisramos0
|
13633e8bea
|
Use arel in order permissions visible orders and editable orders so that we dont have queries with gigantic IN clauses
The | operators here were converting the relations to long lists of IDs, in our current particular issue, an IN clause with 100k order_ids
|
2019-12-29 19:01:44 +00:00 |
|
luisramos0
|
5cb77c443b
|
Fix rubocop issues
|
2019-11-29 10:53:40 +00:00 |
|
luisramos0
|
82b274e522
|
Make selector more specific to avoid sql error 'ambiguos column'
|
2019-11-29 10:49:58 +00:00 |
|
luisramos0
|
bb2e6324bd
|
Rename order permissions to just order
|
2019-11-29 10:49:27 +00:00 |
|
luisramos0
|
89056e13ed
|
Extract order permissions to a separate class
|
2019-11-29 10:48:58 +00:00 |
|