Colin Law wrote in post #1064044:
> On 11 June 2012 15:16, Jamal Soueidan <li...@ruby-forum.com> wrote:
>>
>> it works.
>
> Could you please quote the previous message so that it easier to
> follow the thread.  Remember this is a mailing list not a forum
> (though you may be accessing it through a forum interface).
>
> If you did not have the each loop round it then what was setting up
> location?
>
> Colin

Hello,

I'm facing very weird issue.

in my main page main.html.erb

<%=render(@locations) %>

....and in

locations/location.html.erb

....I try to output name twice

<li><%=location.name%>
<%=location.name%><%=location.name%><%=location.name%></li>

name attribute only outputs one time?? it ignore the rest of <%=
location.name %>

I cannot figure out why this is happening?


//Jamal

-- 
Posted via http://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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to