stew \"stewbagz\" mercer
2005-Mar-28 19:49 UTC
using login_generator and the Cookbook tutorial
Hi All, I''ve been fooling around with the login_generator and the rolling with ruby on rails demo, but I''m jiggered if I can get the two to work together. I''ve managed to get everything installed ok, and have created the db and tables, etc. I''ve been using ruby script\generate login Recipe, and I can either the get the basic tutorial to work, or get the authentication to work, but it seems to nuke the "scaffold :recipe" bit - can anyone please give me a pointer as to how to weld the two together ? the "layout ''scaffold''" bit is giving me a bit of a headache. Rails obviously rocks, but I''m new to both Ruby and Rails (I''m just another perl bodger in real life) - Trying to pick up both at the same time is still a bit of a trick for me, but I''m really hooked on this technology. (And yes, I will RTFM when Amazon finally get round to delivering the PickAxe book before anyone roasts me for not doing it :D Thanks for your time Kind regs Stew
* stew stewbagz mercer <stewbagz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [2005-03-28 20:49:34 +0100]:> I''ve been using ruby script\generate login Recipe, and I can eitherYou need to create a new model for the User (you can''t use Recipe). Eventually you should be doing: ruby script\generate login Account But of course, you need to set that up in your DB. There should now be a file called README_LOGIN in your rails app''s root directory. Check that out. You can also run ruby script\generate login and it will give you some usage. -- Luke | PGP: 0xFBE7D8AF goseigen-Wuw85uim5zDR7s880joybQ@public.gmane.org | 2A44 9EB2 F541 C1F2 D969 56E3 8617 5B7F FBE7 D8AF
stew \"stewbagz\" mercer
2005-Mar-29 08:23 UTC
Re: using login_generator and the Cookbook tutorial
On Mon, 28 Mar 2005 15:15:22 -0500, Luke Renn <goseigen-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:> * stew stewbagz mercer <stewbagz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [2005-03-28 20:49:34 +0100]: > > > I''ve been using ruby script\generate login Recipe, and I can either > > You need to create a new model for the User (you can''t use Recipe). Eventually you should be > doing: > > ruby script\generate login AccountAha! Splendid! Many thanks Luke :)> > But of course, you need to set that up in your DB. There should now > be a file called README_LOGIN in your rails app''s root directory. > Check that out. You can also run ruby script\generate login and it > will give you some usage. > > -- > Luke | PGP: 0xFBE7D8AF > goseigen-Wuw85uim5zDR7s880joybQ@public.gmane.org | 2A44 9EB2 F541 C1F2 D969 56E3 8617 5B7F FBE7 D8AF > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >