Is there any way to filter on a model such that no matter how you access
the table you would always apply a condition?
Currently, in order to apply my condition I have to access the
target_list model through the has_many relationship or code that same
condition in any other finders.
That’s cool - I was hoping for some way to encapsulate what this does so
that I can just reference that encapsulation everywhere.
But upon further thought, I could use “with_scope” to override my
finders, or maybe even better yet, just override the find method and
always force my condition on there.
And even further thought - despite my hatred of views, I could simply
throw a view in front of the table that handles my condition.
Thanks for introducing me to that method though - I am sure it will come
in handy.