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 -- 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 -~----------~----~----~----~------~----~------~--~---
On 3/25/07, Jamal Soueidan <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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 > > -- > 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Pat Maddox wrote:> On 3/25/07, Jamal Soueidan <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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. > > Patwell, i wanted to do my own login authenticated plugin, so I can also learn how to do it :) not use another 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 -~----------~----~----~----~------~----~------~--~---
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. -- 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 -~----------~----~----~----~------~----~------~--~---
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 :) -- 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 -~----------~----~----~----~------~----~------~--~---
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 3/31/07, Jamal Soueidan <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > 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 :) > > > -- > 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 -~----------~----~----~----~------~----~------~--~---
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> > > RSLRussell 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 :) -- 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 -~----------~----~----~----~------~----~------~--~---
We''ll chalk this one up to the inadequacies of email to express cheekiness and humor then. :) RSL On 3/31/07, Jamal Soueidan <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > 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 :) > > -- > 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 -~----------~----~----~----~------~----~------~--~---