Displaying 1 result from an estimated 1 matches for "_add_user".
Did you mean:
add_user
2008 Jul 12
6
Create db row in my partial template
Hi,
When I use script/generate scaffold for my db it automatically creates
that page where I can select to add a new item to the database.
In the controller, the create method looks like this:
def create
@user = User.new(params[:user])
respond_to do |format|
if @user.save
flash[:notice] = ''User was successfully created.''
format.html {