mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 07:16:41 +00:00
added enable method for multiparameter attribute handling of datetime which is enabled by default but will be off in version2
renamed enable action view extension method and enable both extensions in the one method as they are needed together
This commit is contained in:
@@ -21,6 +21,11 @@ module ValidatesTimeliness
|
||||
|
||||
class << self
|
||||
|
||||
def enable_datetime_select_extension!
|
||||
enable_datetime_select_invalid_value_extension!
|
||||
enable_multiparameter_attributes_extension!
|
||||
end
|
||||
|
||||
def load_error_messages
|
||||
if defined?(I18n)
|
||||
I18n.load_path += [ LOCALE_PATH ]
|
||||
|
||||
Reference in New Issue
Block a user