title: model saves in console, not from web ui
body: <p>I asked this question <a href="https://stackoverflow.com/questions/9103824/checkbox-selection-and-form-object-do-not-save">earlier</a> today and from the console, it works as expected. However, when I built my form out to include (e.g. ajax, styles) it does not appear to be saving to the model.</p>
  
  <p>Any ideas where to make my fix?</p>
  
  <p>cheers -</p>
  
  <p><em>Signup Model</em></p>
  
  <pre><code>class Signup &lt; ActiveRecord::Base
    attr_accessible :email_address, :send_once, :send_any_time
    # email_regex = stub it out later
    validates :email_address, presence: true,
                          #format: {with: email_regex},
    uniqueness: {message: 'there can only be one you.'} 
   end
  </code></pre>
  
  <p><em>PagesController</em></p>
  
  <pre><code>class PagesController &lt; ApplicationController
   def index
    @signup = Signup.new
    end
  
   def create
     @signup = Signup.new(params[:signup])
      if @signup.send_once == "1" or @signup.send_any_time == "1"
       respond_to do |format| 
        if @signup.save
         format.js
        else
         format.html {render action: :index}
        end
     end
    else
     #if they don't sign, do something!
    end
   end
  end
  </code></pre>
  
  <p>__form.html.erb_</p>
  
  <pre><code>&lt;%= form_for(@signup, method:post, as: :signup, url: pages_path, html: {id: "button"}, remote: true) do |f| %&gt;
    &lt;% if @signup.errors.any? %&gt;
      &lt;div id="error_explanation"&gt;
      &lt;p&gt;&lt;%= pluralize(@signup.errors.count, "error") %&gt; prohibited this post from being saved:&lt;/p&gt;
     &lt;ul&gt;
      &lt;% @signup.errors.full_messages.each do |user| %&gt;
      &lt;li&gt;&lt;%= user %&gt;&lt;/li&gt;
      &lt;% end %&gt;
     &lt;/ul&gt;
    &lt;/div&gt;
   &lt;% end %&gt;
  
   &lt;div class="field"&gt;
     &lt;%= f.label :email_address %&gt;&lt;br /&gt;
     &lt;%= f.email_field :email_address %&gt;
     &lt;%= f.label :send_once %&gt;&lt;br /&gt;
     &lt;%= f.check_box :send_once %&gt;
     &lt;%= f.label :send_any_time %&gt;&lt;br /&gt;
     &lt;%= f.check_box :send_any_time %&gt;
  
    &lt;/div&gt;
  
    &lt;div class="actions"&gt;
     &lt;%= f.submit %&gt;
    &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>