test/dummy/app/controllers/home_controller.rb in polyblock-0.1.2 vs test/dummy/app/controllers/home_controller.rb in polyblock-0.1.6
- old
+ new
@@ -1,7 +1,8 @@
class HomeController < ApplicationController
def index
-
+ @parent = Parent.new
+ @parent.build_child
end
end