i'm doing some meta stuff and trying to figure out how to stick some
erb html into a proc where i can then feed it to one of many helpers.
if i do something like this:
lamb = lambda do |x|
<b> <%= x %> </b>
end
i get a syntax error because obviously the block isn't actual code.. i
want to be able to do something like <%= html_helper("something",
&lamb) %>
any ideas?
thanks!
Stuart
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---