Re: [Rails] create action, fails validation, renders new and then calls the index action silent the background?

2013-11-11 Thread John Butler
thanks for your reply. Yes, thats what i thought originally but firebug wasnt showing any ajax requests. I will have to go through each bit and find out exactly where the request is coming from, probably some javascript somewhere. On Sat, Nov 9, 2013 at 10:54 PM, Tamara Temple wrote: > > On No

Re: [Rails] create action, fails validation, renders new and then calls the index action silent the background?

2013-11-09 Thread Tamara Temple
On Nov 8, 2013, at 11:41 AM, johnnybutler7 wrote: > Hi Guys, > > Strange issue going on, cant get to the bottom of it. > > I have a bog standard form which submits to the create action fine. If the > validation fails however the new action is rendered with the appropriate > errors, > howeve

[Rails] create action, fails validation, renders new and then calls the index action silent the background?

2013-11-08 Thread johnnybutler7
Hi Guys, Strange issue going on, cant get to the bottom of it. I have a bog standard form which submits to the create action fine. If the validation fails however the new action is rendered with the appropriate errors, however in the logs i notice the index action is called silently and I can