(Mac OS X 10.51, Rails 2.0.2)
I'm trying to get my feet wet with a simple user registration form.
Username, password, and email. I went through the motions of creating
a static scaffold (well there are no dynamic scaffolds in 2.0,
right?). In doing so, Rails created a members_controller, model, and
all the views.
My thinking was to basically mimic the "new.html.erb" by creating a
register.html.erb and duplicate the code. Then I went to the
members_controller and added a register method that was a carbon copy
of the "new" method. But when I navigate over to http://localhost:3000/members/register
I get the following error:
ActiveRecord::RecordNotFound in MembersController#show
Couldn't find Member with ID=register
I'm a little confused why it's barking at the method "show". Can
someone help clear this up for me? Thanks.