|
|
|
|
|
by smileysteve
3455 days ago
|
|
My experience is that it's easy for a developer (new or not) to forget to scope some query. So, by using a gem like this or tenancy, your infrastructure prevents the tragic mistake of missing it. A middle ground solution might extend active record to warn you whenever a query doesn't have current_user / current_customer. |
|