- Nice error checking here;
- A nicer way could be to use ActiveRecords .present? method which checks for nil and an empty string;