how can i access to file .rhtml from the controller

Josihovo wrote:

hello everybody..

my question is the next..

how can i access to the values of the _form.html if i'm in the controller in the def update

in the controller you can access the params hash through the params() method.

def MyController < ApplicationController   def update     foo = params[:bar][:an_attribute]   end end

Peter