Newbie problem with passing values along with forms


#1

Hi,

Please bear with me as I’m new to Rails…

I’m having some problems understanding the way forms work…

I started with the scaffold generated code and tried to addapt it
slightly to my needs.

def edit
@page = Page.find(params[:id])
end


#2

Bruno Soares wrote:

Hi,

Please bear with me as I’m new to Rails…

I’m having some problems understanding the way forms work…

I started with the scaffold generated code and tried to addapt it
slightly to my needs.

def edit
@page = Page.find(params[:id])
end

Hi Bruno, either this got sent prematurely or you need to give us more
information :slight_smile:

Alan