added date validator to gemfile