On Jul 12, 11:47 pm, Mark Preston <[email protected]>
wrote:
>
> <h1>Mystuff#index</h1>
> <p><%mystuff.each do |mr|%></p>
> <h1>mr.m1</h1>
> <% end %>
>

if you want to display the result of a ruby expression (eg one of your
attributes) then you need to use <%= ... %> (don't forget to use h to
escape nasties (if appropriate))

Fred
> Thanks for you help on yet another stupid newbie question.
>
> Mark
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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