title: Add alert after subscribing with gibbon in rails?
body: <p>How can I create an alert after someone subscribes to an email list in Rails 4 with the Gibbon gem?</p>
  
  <pre><code>&lt;%= form_tag('/static_pages/subscribe', method: "post", :class =&gt; 'form-inline', id: "subscribe-form", remote: "true",) do %&gt;
      &lt;div class='input-group'&gt;
     &lt;%= email_field(:email, :address, {id: "email", placeholder: "email address", class: 'btn btn-lg'}) %&gt;
     &lt;%= submit_tag(:submit, class: "btn btn-info btn-lg", id: "email-click", 'data-disable-with' =&gt; "Please wait...") %&gt;
     &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>This is the controller action:</p>
  
  <pre><code>  def subscribe
      @list_id = "43dcea1d12"
      gb = Gibbon::API.new
  
      gb.lists.subscribe({
        :id =&gt; @list_id,
        :email =&gt; {:email =&gt; params[:email][:address]}
        })
  
    end
  </code></pre>
  
  <p>I have tried adding the following before or after the gb.lists.subscribe call without luck</p>
  
  <pre><code>flash[:alert] = "Subscribed!"
  </code></pre>