title: What to add in my controller in Grails?
body: <p>I'm doing an application where after log in, User gets some settings (in check-boxes) which are Boolean in my database. 
  I'm trying to make that every User have his own settings checked, apropose when User logs checked are those fields where the value in the database is 1. My check-box is:</p>
  
  <pre><code>&lt;g:checkBox name="task" value="${setting?.message}" /&gt;
  &lt;label class="text2" for="calendar"&gt;Things to done&lt;/label&gt;
  </code></pre>
  
  <p>What I have to write in my controller?</p>