Yes, that is what i was trying to do. haha...
Maybe in this case, i should just stick with simple instead of dry and
have two templates.
I did come up with something that worked for me for now though. This
is what I have currently:
<% left_col = yield :left_col -%>
<% if left_col -%>
<div id="left_col">
<%= left_col -%>
</div>
<% end -%>
Thanks for your help though. I managed to learn a lot from the
examples you provided for other pieces of my project.
--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-~----------~----~----~----~------~----~------~--~---