Re: [Rails] Re: "uninitialized constant PostsController::Post"

2011-05-01 Thread Colin Law
On 1 May 2011 10:11, John shelfer wrote: > > > On May 1, 4:12 am, Colin Law wrote: >> On 1 May 2011 05:52, amrit pal pathak wrote: >>> ... >> 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

[Rails] Re: "uninitialized constant PostsController::Post"

2011-05-01 Thread amrit pal pathak
On May 1, 5:11 am, John shelfer wrote: > On May 1, 4:12 am, Colin Law wrote: > > > > > > > > > On 1 May 2011 05:52, amrit pal pathak wrote: > > > > ... > > > Showing /home/amrit/final/app/views/posts/index.html.erb where line #4 > > > raised: > > > undefined method `posts_path' for #<#:0xb67f5

[Rails] Re: "uninitialized constant PostsController::Post"

2011-05-01 Thread John shelfer
On May 1, 4:12 am, Colin Law wrote: > On 1 May 2011 05:52, amrit pal pathak wrote: > > > ... > > Showing /home/amrit/final/app/views/posts/index.html.erb where line #4 > > raised: > > undefined method `posts_path' for #<#:0xb67f5560> > > Amrit I cannot believe that you are asking that question.

Re: [Rails] Re: "uninitialized constant PostsController::Post"

2011-05-01 Thread Michael Pavling
On 1 May 2011 09:12, Colin Law wrote: > Amrit I cannot believe that you are asking that question. > > Am I the only one thinking that this poster is winding us up? Since post 1 I've thought you're banging your head against a wall :-/ Stuff like "this is not a [h]ard and fast rule that it must be

Re: [Rails] Re: "uninitialized constant PostsController::Post"

2011-05-01 Thread Colin Law
On 1 May 2011 05:52, amrit pal pathak wrote: > ... > Showing /home/amrit/final/app/views/posts/index.html.erb where line #4 > raised: > undefined method `posts_path' for #<#:0xb67f5560> Amrit I cannot believe that you are asking that question. Look back through your questions and you will see yo

[Rails] Re: "uninitialized constant PostsController::Post"

2011-04-30 Thread amrit pal pathak
On Apr 30, 12:08 pm, Colin Law wrote: > On 30 April 2011 16:40, amrit pal pathak wrote: > > > This time i read scaffold tutorial very  carefully and finally try to > > generate a form without using the scaffold(just used a controller and > > view ).what i have done till now ,is as follow.Using