logo       

[Rails] Re: Replacing render_component: msg#03256

RubyonRailsTalk

Subject: [Rails] Re: Replacing render_component


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
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
-~----------~----~----~----~------~----~------~--~---

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise