Hello there, I want to develop plugin, i feel every time I make new website I do LOGIN script, i want to do them for all which include the following steps: - create users table (id, username, password, created_at, update_at) - create controller (login, signup, logout) - create model (authenticate) - create view (login, signup) - past few different functions in the application.rb, which can be used in the other controllers :) I want to be able to these steps, but I don't really know how to do it, I have the files done, the table etc. Can anyone help me with that :) and Thanks for your help :D
on 25.03.2007 22:36
on 26.03.2007 01:17
On 3/25/07, Jamal Soueidan <rails-mailing-list@andreas-s.net> wrote: > - create view (login, signup) > -- > Posted via http://www.ruby-forum.com/. > > > > Take a look at the acts_as_authenticated plugin. It may do exactly what you want, or at least it'll give you a good place to start. Pat
on 26.03.2007 09:22
Pat Maddox wrote: > On 3/25/07, Jamal Soueidan <rails-mailing-list@andreas-s.net> wrote: >> - create view (login, signup) >> -- >> Posted via http://www.ruby-forum.com/. >> >> > >> > > Take a look at the acts_as_authenticated plugin. It may do exactly > what you want, or at least it'll give you a good place to start. > > Pat well, i wanted to do my own login authenticated plugin, so I can also learn how to do it :) not use another one.
on 30.03.2007 22:10
Hello Jamal I'm also looking for create my own plugin, implementing some predefined functionalities. I just found this short tutorial: http://railsforum.com/viewtopic.php?pid=9703 Now I want to learn how to have controllers into plugins, and how to wraps all the classes into modules. Please, let me know if you step forward. Thanks.
on 31.03.2007 15:25
Franco Sellitto wrote: > Hello Jamal > > I'm also looking for create my own plugin, > implementing some predefined functionalities. > > I just found this short tutorial: > http://railsforum.com/viewtopic.php?pid=9703 > > Now I want to learn how to have controllers into plugins, > and how to wraps all the classes into modules. > > Please, let me know if you step forward. > Thanks. As you can see I already read that article and posted a comment in the bottom :) Solution is to do your own solutions :P I made a new folder, and put all the files related to that plugin, and whenever I want to reuse the plugin I copy the files to the new web application :)
on 31.03.2007 15:46
Jamal, as someone who [at least lately] asks for a lot of help you might not want to be so cavalier in telling others "Solution is to do your own solutions :P". The Rails community is only as helpful. welcoming, and rich as we make it. </twocents> RSL
on 31.03.2007 16:13
Russell Norris wrote: > Jamal, as someone who [at least lately] asks for a lot of help you might > not > want to be so cavalier in telling others "Solution is to do your own > solutions :P". The Rails community is only as helpful. welcoming, and > rich > as we make it. </twocents> > > RSL Russell Norris, I didn't mean anything bad about that, you misunderstood what I said. You helped me a lot and I thank you for that. What I meant is their was no solution in Rails to do it, so you have to find your own solution to do it :) I hope this make more sense then the other one :D and thanks again to you and everyone else who helped me through my problems :)
on 31.03.2007 16:46
We'll chalk this one up to the inadequacies of email to express cheekiness and humor then. :) RSL