validates_timeliness/spec/validates_timeliness
Aditya Kapoor e9c9914c4f Allow the validator to take in the message option too. This is useful in those scenarios where we have a set of generic keys which we need to show.
This would eliminate the need to keeping multiple copies for the default keys set defined by gem.

    The following seems more apt than the later one:

    ```
    validates_date :start_at, on_or_after: :today, message: 'should not be in past'
    ```

    ```
    validates_date :start_at, on_or_after: :today, on_or_after_message: 'should not be in past'
    ```
2017-03-22 13:21:59 +05:30
..
extensions Getting with the RSpec times 2015-12-30 12:06:42 +11:00
orm Fix undefine_attribute_methods spec 2016-01-07 20:50:17 +11:00
validator Getting with the RSpec times 2015-12-30 12:06:42 +11:00
attribute_methods_spec.rb Getting with the RSpec times 2015-12-30 12:06:42 +11:00
conversion_spec.rb Getting with the RSpec times 2015-12-30 12:06:42 +11:00
helper_methods_spec.rb Getting with the RSpec times 2015-12-30 12:06:42 +11:00
validator_spec.rb Allow the validator to take in the message option too. This is useful in those scenarios where we have a set of generic keys which we need to show. 2017-03-22 13:21:59 +05:30