title: SQLite + rails - working the database
body: <p>I ended up in a situation where I have a relatively large table, and I need to add a new column to it. Sounds easy enough? Well, there is a catch - I also need to fill that new column with data based on data already present, but I have no idea how to automate this process.</p>
  
  <p>I have columns 'title' and 'title_de', and new column is 'lang'. New column should contain either 'de' or 'eng' depending on if 'title' is blank or not (blank 'title' means it's 'de', non blank means it's 'eng').</p>
  
  <p>How to tackle this?</p>