Ruby on Rails Wednesday, February 3, 2016

 i'm trying to follow this tutorial https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg but on line 1 of _form.html.erb for likes the author says <% if current_user.liked? likeable %> When i ran the app it raised the error undefined method likeable

--
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-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2e4968e3-3d3b-4230-a3cc-64cd40445b14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment