hyperstack icon indicating copy to clipboard operation
hyperstack copied to clipboard

has_many relationships should be able to take scopes

Open catmando opened this issue 6 years ago • 2 comments

its a feature of Rails.

workaround is to create a scope on the target class, and use that scope the result.

We could automatically do this of course

catmando avatar Feb 25 '19 17:02 catmando

I think this is probably a good first issue, as it should just "build on" existing functionality.

catmando avatar Feb 25 '19 17:02 catmando

Unfortunately, I don't understand what is being asked for here. https://www.ducktypelabs.com/using-scope-with-associations/ ?

catmando avatar Apr 05 '21 03:04 catmando