Add specs for days controller
Add validations for date

and also rescue statement for possible invalid date data (params!). That way the flash messages get displayed, otherwise the execution of the code would just stop.
Add validations for start_time and end_time

and use rescue statement in create action. That way the code gets executed even if the params are invalid, so that the flash messages can still be displayed.