title: Rails Console Help Needed HABTM relationship
body: <p>I'm trying to figure out the command to update my roles_users model using the console. Am using cancan with devise and I'm trying to set up my seeds.rb. I wanted to test first.</p>
  
  <p>My users have many roles and vice versa. Everything is working fine and my roles_users table has been populated.</p>
  
  <p>What I'm trying to figure out is how to update a user in the console.</p>
  
  <p>I can see from my development log the following happens:</p>
  
  <pre><code>INSERT INTO "roles_users" ("role_id", "user_id") VALUES (3, 1)
  </code></pre>
  
  <p>How can I do exactly this in the console??</p>
  
  <p>Thanks</p>