Remove unloadable from the monkey patches for Liquid.
It turns out in this case or core patches, unloadable actually breaks in development mode. Did I already mention that I hate the Rails reloader?
This commit is contained in:
parent
e1ecae83b3
commit
c313ed2d25
|
@ -19,8 +19,6 @@ module ChiliProject
|
|||
def self.included(base)
|
||||
base.send(:include, InstanceMethods)
|
||||
base.class_eval do
|
||||
unloadable
|
||||
|
||||
alias_method_chain :render_all, :cleaned_whitespace_and_cache
|
||||
end
|
||||
end
|
||||
|
|
|
@ -19,8 +19,6 @@ module ChiliProject
|
|||
def self.included(base)
|
||||
base.send(:include, InstanceMethods)
|
||||
base.class_eval do
|
||||
unloadable
|
||||
|
||||
alias_method_chain :handle_error, :formatting
|
||||
end
|
||||
end
|
||||
|
|
|
@ -20,8 +20,6 @@ module ChiliProject
|
|||
def self.included(base)
|
||||
base.extend(ClassMethods)
|
||||
base.class_eval do
|
||||
unloadable
|
||||
|
||||
@@filters = []
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue