Re: [Rails] Re: Form data not uploading to sqlite database

2013-12-02 Thread Frederick Cheung
On Saturday, November 30, 2013 10:11:12 AM UTC, Ankur wrote: > > > > Also, I missed adding create action in controller earlier, have added it > now: > >* def create* > * Task.create params[:task]* > * redirect_to :back* > * end* > > Did you add a route for your create action ? That would

Re: [Rails] Re: Form data not uploading to sqlite database

2013-11-30 Thread Ankur Kumar
Hi Frederick, If I change the path to tasks_path, I get the following error while navigating on to the page which has this form. If I keep task_path, navigation works fine. undefined local variable or method `tasks_path' for #<#:0xb550f644> I don't see any error in development.log when I click o

[Rails] Re: Form data not uploading to sqlite database

2013-11-30 Thread Frederick Cheung
On Friday, November 29, 2013 10:18:26 PM UTC, Ankur wrote: > > > I have done db migration and db schema exists for table but "select * from > tasks" doesn't return any rows and therefore UI doesn't show any form data. > Can someone please help me debug this issue? > > > So what does happen whe