Forum: Ruby on Rails Should installing a plugin add some files to the lib folder?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
comopasta G. (Guest)
on 2008-11-10 23:42
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
Ar C. (Guest)
on 2008-11-11 05:30
>
> But when those files are placed in that folder? When installing the
> plugin, or how? I mean, I guess that should happen automatically...
>
> Thanks

If 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
comopasta G. (Guest)
on 2008-11-12 00:22
Thank you Ar Chron for the reply.

That explains it I believe.

Cheers
This topic is locked and can not be replied to.