undefined local variable or method `user' for #<#<Class:0x007fe075485dc0>:0x007fe0738e8d38>
The question is, how can I call a method from a html.erb?.
Thank you so much, best regards.
Alfredo.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtcO8P1JBumJ6mP7yhPHS7cytHB9h3-h2WR0ykHV3ZKug%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Any idea of the issues?.
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b55b07ec-61e6-4b3c-95da-70ae99f22106%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
undefined method `each' for nil:NilClass in the following line -><% @photos.each do |product| %>
Could you please tell me what I'm doing wrong?.
Thank you and best regards.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/09c80a52-bc93-49e2-a23b-98b24b01d0d2%40googlegroups.com.