Newbie: setting up restful_authentication

I installed the plug-in for restful_authentication and ran the
migration. The table exists, but when I try creating an account using:

http://localhost:3000/users/new

no record gets inserted into the users table. I checked the log, but
there don’t appear to any messages saying it attempted to post and an
error occurred.

If there’s a tutorial out there showing an example of setting it up and
using it, I’ll figure this out on my own. Does anyone know where I can
find one?

I thought /users/new was the page to begin to create a new user. It
shows
you the form for a user. Then it posts to /users which should then
create
users. Unless you’ve forgotten to set up map.resources :users in your
config/routes.rb I see no other reason for it not to work.

On Dec 20, 2007 9:19 AM, Cody S.
[email protected]
wrote:

If there’s a tutorial out there showing an example of setting it up and
using it, I’ll figure this out on my own. Does anyone know where I can
find one?

Posted via http://www.ruby-forum.com/.


Ryan B.
http://www.frozenplague.net

Check out Ryan B.’ Railscasts on restful_authentication
http://railscasts.com/episodes/67

Good luck.
Mike

Ryan B. wrote:

Unless you’ve forgotten to set up map.resources :users in your
config/routes.rb I see no other reason for it not to work.

I used Rick Olsen’s instructions in the readme to install the plugin.
Setting up the route was a part of that, but I didn’t setup any
additional views or controllers other than those created directly by the
controller. I’ll use the video cast Mike suggestion before asking
anymore about this though.

Thanks guys.