Check out the new helper from database_validations gem called db_belongs_to. There is an article about it on reddit.
db_belongs_to