Skip to content

Commit f63d654

Browse files
Merge pull request rails#8282 from arunagw/warning_removed_for_ruby2
Initialize accessors to remove some warnings in Ruby 2.0
2 parents 3a89068 + 4a7a858 commit f63d654

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

railties/lib/rails/engine.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ def find(path)
407407
end
408408
end
409409

410+
self.isolated = false
411+
410412
delegate :middleware, :root, :paths, to: :config
411413
delegate :engine_name, :isolated?, to: "self.class"
412414

0 commit comments

Comments
 (0)