lib/jbuilder/jbuilder_template.rb in jbuilder-2.6.1 vs lib/jbuilder/jbuilder_template.rb in jbuilder-2.6.2
- old
+ new
@@ -9,9 +9,10 @@
self.template_lookup_options = { handlers: [:jbuilder] }
def initialize(context, *args)
@context = context
+ @cached_root = nil
super(*args)
end
def partial!(*args)
if args.one? && _is_active_model?(args.first)