title: How to insert into a many_to_many table using Rails 3 active record from the console
body: <p>I have a has_and_belongs_to_many set up and a read from the table but I can't seem to write to the table from rails console. </p>
  
  <p>Household.first.appliances[0] = Appliance.first works while i'm in console and when I save it, it returns true but does not actually write to the database. </p>
  
  <p>I'm using a remote mysql database and can write to all the other tables from the console just not the many_to_many. Any ideas how to do it? </p>