Opal + react = isomorphic ruby that plays well with rails

As far as I’ve seen from source, it predefines route points for fetching - saving, and it kind of evals model info? So it’s basically one entry point for fetching/saving models.

What about security issues, I mean, for example how can one filter saving/fetching model depending on user rights for example. Is there a way you see it or one needs to alter that with custom hacks?

P.S.
BTW, your approach is even cooler than I thought before, it absolutely can replace view part the right way for Rails, I mean it solves the main problem of clientside code of hellish JS frameworks that you had to duplicating things you had on backend for your fronts.

Well adding potential action-cable or faye right now in the mix to your architecture will make Rails having all that Volt can offer.

1 Like