Rails Practice: Data Migrations

Oh no! Your company just realized that they have some bad data in their databases.

Your mission, should you choose to accept it, is to fix the bad data.

  • For organizations with nil values in the active column, make them false
  • Delete organizations with blank names
  • Delete any people who are more than 100 years old