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)
|
def self.included(base)
|
||||||
base.send(:include, InstanceMethods)
|
base.send(:include, InstanceMethods)
|
||||||
base.class_eval do
|
base.class_eval do
|
||||||
unloadable
|
|
||||||
|
|
||||||
alias_method_chain :render_all, :cleaned_whitespace_and_cache
|
alias_method_chain :render_all, :cleaned_whitespace_and_cache
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -19,8 +19,6 @@ module ChiliProject
|
|||||||
def self.included(base)
|
def self.included(base)
|
||||||
base.send(:include, InstanceMethods)
|
base.send(:include, InstanceMethods)
|
||||||
base.class_eval do
|
base.class_eval do
|
||||||
unloadable
|
|
||||||
|
|
||||||
alias_method_chain :handle_error, :formatting
|
alias_method_chain :handle_error, :formatting
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -20,8 +20,6 @@ module ChiliProject
|
|||||||
def self.included(base)
|
def self.included(base)
|
||||||
base.extend(ClassMethods)
|
base.extend(ClassMethods)
|
||||||
base.class_eval do
|
base.class_eval do
|
||||||
unloadable
|
|
||||||
|
|
||||||
@@filters = []
|
@@filters = []
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user