> This may actually be worse but it is another way...
In terms of elegance, I think that it's about a toss up. However, I
think that your suggestion has a slight distinct advantage. If I use
my approach, I have to deal with the actual partial twice, once to
test whether it exists and once to render it if it does. Using your
approach, I only have to deal with the actual partial once, i.e., to
render it. I'm adopting your approach whch, btw, works great. Thanks
for the suggestion.
... doug
--
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.