Im using the login generator and I want to make it so that only users that are in a DB table called auth_users can access /auth_user. Is there a way to do this without making another login generator? -- Posted via http://www.ruby-forum.com/.
Mohammad wrote:> Im using the login generator and I want to make it so that only users > that are in a DB table called auth_users can access /auth_user. Is there > a way to do this without making another login generator?Why have a second table? Just put them in the same table but give them a tag like, ''auth_user'' in the role field. -Adam -- Posted via http://www.ruby-forum.com/.
Hello, I just now decided to implemnt login to my app. But instead of having user.login I have user.user_name what files do I need to change so that it will use user_name instead of login? And alos where do I need to change them? Thanks in advance. Sincerly, Mohammad -- Posted via http://www.ruby-forum.com/.