Help Plzz (new to ruby)

Hi Antony,

For Example:
erb.file.U have 3 three fields.
username,useremail then useraddress in the user tables.

Table Name:users

In controller

def create
@user =User.new(params[:user])
@user.save
redirect_to :action =>‘list’
end
Otherwise u can try this one:
def create
@user =User.new()
@user.name = params[:user][:username]
@user.save
redirect_to :action =>‘list’
end

Thanks
seenu

Thank you Sakthivel I Will try this