Newbie problem with passing values along with forms

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs