[Rails] Re: Re: Re: Problem in accessing "create" action
Colin Law wrote in post #1052299:
> On 19 March 2012 14:15, Mahes karthick <lists@ruby-forum.com> wrote:
>>> If it still is not right and you get an error show us the full error,
>>>> </body>
>>>> redirect_to :action=>create,:parameter1=>value1,:parameter2=>value2
>>
>> this line does not working....when im redirecting to create action from
>> new action...it does not invoking create action..
>
> Did you not see my comment last time, It should be :action => 'create'
>
> If it still does not work look in development.log and see what is
> happening. Also look at the Rails Guide on Debugging. That will show
> you ways of debugging your code.
>
> Colin
:action => 'create'..i had given same code...but still i couldn't able
to invoke the create action..i will see development.log and debugging
files.
Thank you very much for your help....
--
Posted via http://www.ruby-forum.com/.
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home