mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
list mongoid in config comments
This commit is contained in:
parent
6220ae7b43
commit
d5b0fe0526
@ -1,5 +1,5 @@
|
||||
ValidatesTimeliness.setup do |config|
|
||||
# Add plugin to supported ORMs (only :active_record for now)
|
||||
# Add plugin to supported ORMs (:active_record, :mongoid)
|
||||
# config.extend_orms = [ :active_record ]
|
||||
#
|
||||
# User the plugin date/time parser which is stricter and extendable
|
||||
|
||||
@ -12,7 +12,7 @@ module ValidatesTimeliness
|
||||
autoload :Parser, 'validates_timeliness/parser'
|
||||
autoload :VERSION, 'validates_timeliness/version'
|
||||
|
||||
# Add plugin to supported ORMs (only :active_record for now)
|
||||
# Add plugin to supported ORMs (:active_record, :mongoid)
|
||||
mattr_accessor :extend_orms
|
||||
@@extend_orms = [ defined?(ActiveRecord) && :active_record ].compact
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user