Displaying 1 result from an estimated 1 matches for "cheesehelp".
Did you mean:
cheesehelper
2005 Oct 21
1
initialize in helpers
Hi,
I have just upgraded to the latest version of rails and zero arg
initializers in helpers stopped working. ie I previously had something like
module CheeseHelper
def initialize
... init some vars etc ...
end
end
class GobbleController < ApplicationController
helper :cheese
end
But this will generate an exception down in the guts of the framework
because something has a 3-arg initialize or similar...
ie.
wrong number of arguments (3 for 0)
<htt...