lib/field_test/engine.rb in field_test-0.1.0 vs lib/field_test/engine.rb in field_test-0.1.1
- old
+ new
@@ -1,4 +1,8 @@
module FieldTest
class Engine < ::Rails::Engine
+ isolate_namespace FieldTest
+
+ # prevents conflict with field_test method in views
+ engine_name "field_test_engine"
end
end