title: Have little problem actionmailer
body: <p>Last problem in my project.</p>
  
  <p>my action mailer</p>
  
  <pre><code>class Notifier &lt; ActionMailer::Base
    def newgrants_notification(respondent)
       recipients     respondent.email
       from           "admiN@admin.com"
       subject        "Do it"
       body        (:user =&gt; user.name, :url_base =&gt; pass_this) #i think problem is this in url?
    end
  end
  </code></pre>
  
  <p>inquiry_model</p>
  
  <pre><code>  def pass_this
      return "http://localhost:3000/asnwer/index?user_id=#{self.id.to_i}&amp;token=#{self.security_token}"
    end
  </code></pre>
  
  <p>in mailer_view</p>
  
  <pre><code>&lt;p&gt;Link to pass: &lt;%= "#{@url_base}" %&gt;&lt;/p&gt;
  </code></pre>
  
  <p>How to implement asnwer_form link from model to action_mailer::base? Now link is empty ;[
  I need when i open my email: there was link to my path with right user_id and token</p>
  
  <p>p.s - <code>security_token</code> in <code>questions</code> table
  <code>user_id</code> in <code>users</code> table</p>