Ruby on Rails Sunday, May 1, 2011

On 1 May 2011 05:52, amrit pal pathak <amritpalpathak1@gmail.com> wrote:
> ...
> Showing /home/amrit/final/app/views/posts/index.html.erb where line #4
> raised:
> undefined method `posts_path' for #<#<Class:0xb67f7784>:0xb67f5560>

Amrit I cannot believe that you are asking that question. Look back
through your questions and you will see you have asked similar
questions several times. Always the answer is to rake routes to what
routes you have defined (and so whether posts_path is valid) and to
re-read the Rails Guides on Routing if you do not know how to get that
path defined.

Can you explain how it is that you have to keep asking the question?

Am I the only one thinking that this poster is winding us up?

Colin

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

No comments:

Post a Comment