Search code examples
ruby-on-railsrubypluginsruby-on-rails-plugins

How to modify restful_authentication plugin setup in Rails?


I installed restful_authentication a while ago in my project, everything works fine, except that now we requiere the users to activate their accounts via email.

I forgot to include the option "--include-activation" when I ran the generate script, is there a clean way to add it now? Or should I re-install the plugin? If so, how can it be done the safest and cleanest way?


Solution

  • I would go to the generator source and see what the --include-activation option does and replicate it manually. Very tedious, but I don't see another way.