mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 15:22:58 +00:00
Fix load order issue for AR extension using Railite
This commit is contained in:
@@ -58,6 +58,10 @@ module ValidatesTimeliness
|
||||
# Setup method for plugin configuration
|
||||
def self.setup
|
||||
yield self
|
||||
load_orms
|
||||
end
|
||||
|
||||
def self.load_orms
|
||||
extend_orms.each {|orm| require "validates_timeliness/orm/#{orm}" }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user