Marnen Laibow-Koser wrote:
.rhtml works fine at least through 2.2.2. .html.erb may be the way to go but .rhtml is not the problem. The problem is what do you expect a string to do? <%= %> says to evaluate the ruby _expression_ and then return the result. I think the code should be something like <%= p 'whatever' %>.Marnen Laibow-Koser wrote: Am I loosing my mind? Norm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- [Rails] Re: Browser can't display the ruby part in rht... Marnen Laibow-Koser
- [Rails] Re: Browser can't display the ruby part i... Marnen Laibow-Koser
- [Rails] Re: Browser can't display the ruby pa... Norm Scherer
- [Rails] Re: Browser can't display the ruby pa... Browny Lin
- [Rails] Re: Browser can't display the rub... Colin Law
- [Rails] Re: Browser can't display the... Browny Lin
- [Rails] Re: Browser can't displa... Marnen Laibow-Koser
- [Rails] Re: Browser can't di... Browny Lin
- [Rails] Re: Browser can'... Marnen Laibow-Koser

