Todo app implemented using ActiveRecord