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? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Skidmore <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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? > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Check out Ryan Bates'' Railscasts on restful_authentication http://railscasts.com/episodes/67 Good luck. Mike On Dec 19, 2007, at 5:49 PM, Cody Skidmore wrote:> > 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? > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg 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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---