title: Rails & Devise: How can I trigger other events when user registers?
body: <p>For example a visitor will create an account I want to be able to trigger and create other things with those parameters until they confirm or login.</p>
  
  <p>This is the closest solution I have, if it's not efficient please it would be great to give any suggestion</p>
  
  <p>In <code>application_controller.rb</code></p>
  
  <pre><code>class ApplicationController &lt; ActionController::Base
     #other stuff
     after_filter :trigger_me, if: :devise_controller?
       def trigger_me
         #some code to execute
         #Some way to get User info just created.
       end
  end
  </code></pre>