-
Notifications
You must be signed in to change notification settings - Fork 233
Upgrading
adzap edited this page Sep 16, 2010
·
6 revisions
*Upgrading from 2.x to 3.x*
The plugin has been rewritten for Rails 3 to support the ActiveModel system. This has simplified things greatly. However there are a few changes are they are mainly just in the configuration.
Before anything make sure you have run the generator for the plugin to output the config initializer and I18n file.
$ rails generate validates_timeliness:install
Then see the config/initializers/validates_timeliness.rb file.
The plugin parser is now optional and is turned off by default. To turn it on you need to change the use_plugin_parser option the config initializer called.