Skip to content

Commit 7d66224

Browse files
committed
✂️ jbuilder_template.rb:80: warning: instance variable @cached_root not initialized
1 parent 1e8b741 commit 7d66224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/jbuilder/jbuilder_template.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class << self
1111

1212
def initialize(context, *args)
1313
@context = context
14+
@cached_root = nil
1415
super(*args)
1516
end
1617

0 commit comments

Comments
 (0)