I am having general question on how do you solve problem of rendering
interactive (or not) "widgets" on your web sites - areas that user
interact with and provide special behavior.
For example, one might want to put these in sidebar to forecast
weather, or to manage nested resource's attributes.
What I usually do, is call "render_component" to render some other
controller's actions. But this has some nasty side-effects, like
errors with "protect_from_forgery".
I know that Components are in Rails no more, and my approach really
Rendering only partials, without some business logick behind is not
really the solution.
Could you please share how you resolve similiar issues?