Added ActiveRecord Validation