I'm working on fixing up the code in my first Rails application and
have come around to DRYing up the views and partials.  For the most
part, I'm satisfied with the DRYness of the application, but I have
5-6 partials that display nearly identical XHTML, just with different
content, link_to paths, and images.

I know this question is entirely subjective, but would finding a way
to further DRY the 5-6 partials into one partial with plugs for
different fillers be too much?  If so, how would I go about doing
this?

2 examples...

http://pastie.org/402754
http://pastie.org/402756
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to