Limiting based on association #30
-
Hey Shopify crew! Thanks for making such amazing gems. Use so many of them in my products, can't tell you how much I appreciate it. Quick q: if I'd like to limit based on an association count, what would be the best way to handle it using this library? Say, I want to limit the intake of Thank you! ⭐ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@jessehanley this gem is for rate-limiting calls to methods, not for any form of activemodel vallidation. |
Beta Was this translation helpful? Give feedback.
-
Hi @sbfaulkner This gem is amazing. I was able to limit the calls to my endpoint but for some reason when I add the block after the limit_method, I am not able to make it work, not even having I need the API to get the token authenticated before calling the endpoint
|
Beta Was this translation helpful? Give feedback.
@jessehanley this gem is for rate-limiting calls to methods, not for any form of activemodel vallidation.