Hello, I am curious what gem / sequel plugin are you using when developing for example JSON REST API. So when you need different model representations (index, detail etc). Currently I was using custom `as_json(mode)` method in every model. But I am looking for a better approach. It is not ideal especially when you need eager loading etc...
Any tips? Thank you! -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/92ca86fa-6310-4c3a-be7a-a3e6c2c7b42d%40googlegroups.com.
