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

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

Thank you Ar Chron for the reply.

That explains it I believe.

Cheers