title: Save returning true, object not being saved
body: <p>Save returning true, object not being saved. I can't really tell why. I suspect I need to explicitly tell rails it is modifiable but I am not sure how. Any idea what can be wrong?</p>
  
  <h1>view</h1>
  
  <pre><code>&lt;%= form_tag(set_email_settings_path) do %&gt;
    &lt;div class="form-group"&gt;
      &lt;% if @logged_in_profile.email_settings != 'off' %&gt;
        &lt;%= submit_tag 'Turn off emails', class: 'btn btn-default btn-about', name: 'email_notification' %&gt;
      &lt;% else %&gt;
        &lt;%= submit_tag 'Turn on emails', class: 'btn btn-default btn-about', name: 'email_notification' %&gt;
      &lt;% end %&gt;
    &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <h1>controller</h1>
  
  <pre><code>if params[:email_notification] == 'Turn off emails'
    logged_in_profile.email_settings = 'off'
  else
    logged_in_profile.email_settings = 'normal'
  end
  if logged_in_profile.save
    redirect_to email_settings_path
  else
    redirect_to settings_path
  end
  </code></pre>
  
  <h1>route</h1>
  
  <pre><code>  post "set_email_settings" =&gt; "profiles#set_email_settings", :as =&gt; 'set_email_settings'
  </code></pre>