I was wondering if it was possible to pass objects between methods in
the controllers - or whether you can only pass strings??
@object = Model.find(params[:id)
redirect_to :action => “method_to”, :object => @object
@object = params[:object]
The question is basically - can i access the object in method_two?
Or do i have to just pass the model id to method two and do another
query to find the model object?
Which is best practice?