When I use

Code:
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'
	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
Code:
params[:user][:Username]
?

Thank you for the help.