public
Description: Merb Plugins: Even more modules to hook up your Merb installation
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-plugins.git
Ticket #154 - This includes the form helpers in to the Merb::PartController so 
that method_missing is not called up the chain.

Thanks for the pointer carllereche.
bryansray (author)
Mon Sep 08 16:16:53 -0700 2008
commit  61c358c37829d74a92e38fc5a627a011d79e76d9
tree    41dbe69335d4430481ddf874c2e5e4e25cc88c24
parent  2700e837c3354f3016b73832af2fac1e60cd6cbe
...
6
7
8
 
 
 
 
 
9
10
11
12
13
 
 
 
 
 
14
...
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
0
@@ -6,9 +6,19 @@ class Merb::Controller
0
   include Merb::Helpers::Form
0
 end
0
 
0
+class Merb::PartController
0
+  class_inheritable_accessor :_form_class
0
+  include Merb::Helpers::Form
0
+end
0
+
0
 Merb::BootLoader.after_app_loads do
0
   class Merb::Controller
0
     self._form_class =
0
       Object.full_const_get(Merb::Plugins.config[:helpers][:form_class]) rescue Merb::Helpers::Form::Builder::ResourcefulFormWithErrors
0
   end
0
+  
0
+  class Merb::PartController
0
+    self._form_class =
0
+      Object.full_const_get(Merb::Plugins.config[:helpers][:form_class]) rescue Merb::Helpers::Form::Builder::ResourcefulFormWithErrors
0
+  end
0
 end

Comments