Rails validations and defaults for Task