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:
Adam Meehan
2009-03-08 17:55:48 +11:00
parent 1dbac5190b
commit c3f3edf324
3 changed files with 18 additions and 11 deletions

View File

@@ -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 ]