On May 1, 4:12 am, Colin Law <clan...@googlemail.com> wrote: > On 1 May 2011 05:52, amrit pal pathak <amritpalpath...@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? Not at all.He is new to Rails So I think we should help him to resolve the issue.
-- 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.