[Rails] Re: Rails Authentication Tutorial

2009-10-07 Thread Hassan Schroeder
On Tue, Oct 6, 2009 at 7:55 PM, Kevin M wrote: > sudo /usr/local/mysql/bin/mysql -u root > > I get this error: > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) > > My searching has not produced an answer. ?? Either that's not the location of the

[Rails] Re: Rails Authentication Tutorial

2009-10-07 Thread Marnen Laibow-Koser
Kevin M wrote: > @ruchika I'm trying the one you suggested, Just so you know, most people these days seem to consider restful_authentication inferior to Authlogic. Restful_authentication's excessive reliance on generator scripts makes it hard to maintain your authentication if anything chang

[Rails] Re: Rails Authentication Tutorial

2009-10-06 Thread Kevin M
I tried this next based on a Google search: sudo /usr/local/mysql/bin/mysql -u root I get this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) My searching has not produced an answer. Anyone with ideas? Thanks, Kevin On Oct 6, 9:51 pm, Kev

[Rails] Re: Rails Authentication Tutorial

2009-10-06 Thread Kevin M
@ruchika I'm trying the one you suggested, but I have problem when I get to the end where it says to create the database. I enter the follow in the terminal: $ mysql -u But I get this error -bash: mysql: command not found What am I doing wrong? On Sep 26, 4:08 am, ruchika wrote: > HeyKevin >

[Rails] Re: Rails Authentication Tutorial

2009-09-26 Thread ruchika
Hey Kevin use this restful authentication i have used it in my many projects and its working fine. http://railsforum.com/viewtopic.php?pid=74245#p74245 On Sep 25, 10:46 am, "s.ross" wrote: > Hello-- > > On Sep 24, 2009, at 7:56 PM, Kevin M wrote: > > > > > > > I started fresh and did the Res

[Rails] Re: Rails Authentication Tutorial

2009-09-24 Thread s.ross
Hello-- On Sep 24, 2009, at 7:56 PM, Kevin M wrote: > > I started fresh and did the Restful_authentication with all the bells > tutorial, (link to tutorial: http://railsforum.com/viewtopic.php?id=14216 > ). > > Below is the error I get when I create the database, I did a trace. > >

[Rails] Re: Rails Authentication Tutorial

2009-09-24 Thread Kevin M
I have Mamp installed so I tried setting the socket that location, Socket: /Applications/MAMP/tmp/mysql/mysql.sock The rake seemed to go through without problems. However, when I run the server I get this message about a field missing from the database. Message from browser--

[Rails] Re: Rails Authentication Tutorial

2009-09-24 Thread Kevin M
Thanks John, I'm needing something more thanks for the advice, I will try that on a future project. Kevin On Sep 24, 5:30 am, JohnDel wrote: > HelloKevin > > For a simple authentication you can try nifty_authentication from gem > nifty_generators. > Just install it, generate a nifty_layout and

[Rails] Re: Rails Authentication Tutorial

2009-09-24 Thread Kevin M
I started fresh and did the Restful_authentication with all the bells tutorial, (link to tutorial: http://railsforum.com/viewtopic.php?id=14216). Below is the error I get when I create the database, I did a trace. - iMac:restful_authentication_tutorial

[Rails] Re: Rails Authentication Tutorial

2009-09-24 Thread Nicholas Van Weerdenburg
Authlogic has a tutorial project on github (authlogic_example). Download and run that, and then compare that to what you are doing. There is a good tutorial on the authlogic site, but it can still help to look at and test a working example. The things that stich everything together are the require_

[Rails] Re: Rails Authentication Tutorial

2009-09-24 Thread JohnDel
Hello Kevin For a simple authentication you can try nifty_authentication from gem nifty_generators. Just install it, generate a nifty_layout and after that a nifty_authentication. It will create two controllers, one named users which will be for creating users and the other named sessions which w

[Rails] Re: Rails Authentication Tutorial

2009-09-23 Thread Conrad Taylor
Hi, why don't you simply post a detail description of the issue(s) that you're having with the gem/plugin? -Conrad Sent from my iPhone On Sep 23, 2009, at 8:35 PM, Kevin M wrote: > > Does anyone know a good authentication tutorial they can suggest? I've > tried several restful authenticatio

[Rails] Re: Rails Authentication Tutorial

2009-09-23 Thread Marnen Laibow-Koser
Kevin M wrote: > Does anyone know a good authentication tutorial they can suggest? I've > tried several restful authentication ones and an authlogic one on > RailsCast. But with each one I try, something seems to be missing in > the tutorial and I can't get it to work. I'm new to Rails so it's > p