From 8d3ae75b195ad2dc7131a451a011c9c9f17dbf51 Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Tue, 21 Sep 2010 18:25:30 +1000 Subject: [PATCH] add use_plugin_parser option to initializer template --- .../validates_timeliness/templates/validates_timeliness.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/generators/validates_timeliness/templates/validates_timeliness.rb b/lib/generators/validates_timeliness/templates/validates_timeliness.rb index ca534e0..5534596 100644 --- a/lib/generators/validates_timeliness/templates/validates_timeliness.rb +++ b/lib/generators/validates_timeliness/templates/validates_timeliness.rb @@ -2,6 +2,9 @@ ValidatesTimeliness.setup do |config| # Add plugin to supported ORMs (only :active_record for now) # config.extend_orms = [ :active_record ] # + # User the plugin date/time parser which is stricter and extendable + # config.use_plugin_parser = false + # # Set the dummy date part for a time type values. # config.dummy_date_for_time_type = [ 2000, 1, 1 ] #