When I use

render :layout => false
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.

For instance:
Code Ruby:
	def authenticate
		render :layout => 'response'
		@parameters = 'test'

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.