search for: gobblecontroller

Displaying 1 result from an estimated 1 matches for "gobblecontroller".

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) <http://127.0.0.1:3000/login#> c:/applications/ruby/lib/ruby/gems/1.8/gems/a...