When I use
it doesn't generate a layout, and thats what I want because I am generating an AJAX response. However, it doesn't pass any variables I have in my code to the file.Code:render :layout => false
Code Ruby:def authenticate render :layout => 'response' @parameters = 'test' end
Will not pass @parameters to my view file. Can anyone shed light on how I would do this with Rails? Also one other quick question...
Would I access a post field with the name user[Username] like
Thank you for the help.