Rails Console Sandbox mode

Many times you have to test your models in the rails console and you may want to not pollute your development database with all your experiments. Rails has you covered.

Launching the rails console with the --sandbox option will allow you to do whatever your want with your models because once you exit from the console all the changes will be rolled back in the database.