Updated app to Rails.