I''m using the latest RC version of rails, but I swear that I''ve generated a scaffold since updating, although I can''t remember for sure. How do I track down what''s causing this? # script/generate scaffold test You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.include? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
I just did a gem update rails and get the same error. Any ideas would be helpful from the gurus. snacktime wrote:> I''m using the latest RC version of rails, but I swear that I''ve generated a > scaffold since updating, although I can''t remember for sure. How do I track > down what''s causing this? > > # script/generate scaffold test > You have a nil object when you didn''t expect it! > You might have expected an instance of Array. > The error occured while evaluating nil.include? > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-- Aly S.P Dharshi aly.dharshi-EynCeXvFgoheoWH0uzbU5w@public.gmane.org "A good speech is like a good dress that''s short enough to be interesting and long enough to cover the subject"
On 26/10/05, snacktime <snacktime-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m using the latest RC version of rails, but I swear that I''ve generated a > scaffold since updating, although I can''t remember for sure. How do I track > down what''s causing this? > > # script/generate scaffold test > You have a nil object when you didn''t expect it! > You might have expected an instance of Array. > The error occured while evaluating nil.include? >I''ve uploaded a patch to fix this to http://dev.rubyonrails.com/ticket/2609/ seems to work here, please apply the patch locally and test it. Regards, Matt -- Matt Mower :: http://matt.blogs.it/