logo       

[Rails] Replacing render_component: msg#03238

RubyonRailsTalk

Subject: [Rails] Replacing render_component


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
social occasions.

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?

--
Mike Cugley
mcugley@xxxxxxxxxxxxxx


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise