comopasta Gr
2008-Nov-10 21:42 UTC
Should installing a plugin add some files to the lib folder?
Hi, I have recently regenerated some old projects. In those I was using restful_authentication and also now role_requirement plugins. In order to get those working I need to have some files in the lib folder, authenticated_system.rb and role_requirement_system.rb respectively. Installing the plugins didn''t add those files to the lib folder so I had to copy them manually. But when those files are placed in that folder? When installing the plugin, or how? I mean, I guess that should happen automatically... 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 -~----------~----~----~----~------~----~------~--~---
Ar Chron
2008-Nov-11 03:30 UTC
Re: Should installing a plugin add some files to the lib folder?
> > But when those files are placed in that folder? When installing the > plugin, or how? I mean, I guess that should happen automatically... > > ThanksIf I recall correctly, that happens when you generate the authenticated user sessions (after the plugin is installed), as in: ruby script/generate authenticated user sessions --include-activation -- 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 -~----------~----~----~----~------~----~------~--~---
comopasta Gr
2008-Nov-11 22:22 UTC
Re: Should installing a plugin add some files to the lib folder?
Thank you Ar Chron for the reply. That explains it I believe. Cheers -- 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 -~----------~----~----~----~------~----~------~--~---