mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
parent
273196f7f0
commit
9ab45399b9
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ module Draper
|
|||
def delegatable?(method)
|
||||
source_class? && source_class.respond_to?(method)
|
||||
end
|
||||
|
||||
# @private
|
||||
# Avoids reloading the model class when ActiveSupport clears autoloaded
|
||||
# dependencies in development mode.
|
||||
def before_remove_const
|
||||
end
|
||||
end
|
||||
|
||||
included do
|
||||
|
|
Loading…
Reference in a new issue