New to Ruby, new to Rails. I’ve googled much on this topic, but I don’t
think I have enough knowledge to form the correct queries.
I’ve been given the task of resurrecting an old Rails app that’s not
seen the light of day for two years. It seems to rely heavily on
render_component which I am given to understand by various error
messages is now deprecated, unfashionable, and unfit to be seen with on
However, what I haven’t found is much on what to do with
render_component code to make it more modern, apart from “Components are
a special-purpose approach that can often be replaced with better use of
partials and filters.” Whatever they may be.
Is there anywhere I can go to help me understand what the
render_component calls are doing in this particular instance, and how
best to refactor them?