Nicholas Henry wrote: > The render_component was extracted as a plugin, so the documentation > here should explain what render_component is actually doing: > > http://github.com/rails/render_component/tree/master > > I have provided an example here of a refactoring based on what you > described below: > > http://gist.github.com/159227 > > HTH, > Nicholas > >
I've had a go at installing the plugin (just to get the thing to work enough I can see what it does) but that just threw up other errors; however, I think the idea of looking through the docs and code is a good one. The refactoring looks interesting - I'll see if I can wrap my newbie head around it :) Thanks. -- Mike Cugley [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

