Matthew,
I''m having this same problem... But I''m running on webrick...
What
sessions? I started the webrick session from command line 1 second ago
and there shouldn''t be anything in memory for it... Am I correct?
Thanks for your help and advice.
Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
Peter.Fitzgibbons-STCS76aLmhk1y/cD6r8xzl6hYfS7NtTn@public.gmane.org
(847) 884-8800
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of Matthew Thill
Sent: Tuesday, March 22, 2005 6:40 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] 0.11 problems
Have a look at this post, at the bottom
http://weblog.rubyonrails.com/archives/2005/03/22/rails-0110-ajax-pagina
tion-non-vhost-incoming-mail/
You need to clear out existing sessions.
Ian J Cottee wrote:> I''ve upgraded to 0.11 this morning specifically to test out the
> pagination stuff. When that didn''t work (didn''t recognise
the command)
> I deleted my project and recreated from scratch. So in short
>
> rails projectname
> cd projectname
> edit config/database.yml (my database is postgres by the way)
> ruby scripts/generate model Recordtype
> ruby scripts/generate controller recordtype
>
> My table name is actually t_recordtype so I edit my recordtype.rb
> model and add
>
> set_table_name "t_recordtype"
>
> I then edit my controller and add
>
> model :recordtype
> scaffold :recordtype
>
> And go to look at my wonderful new screen. But all I get is
>
> NoMethodError in Recordtype#index
> undefined method ''discard'' for {}:Hash
>
> Tried this twice now (using the notes I''ve been keeping for
repeatedly
> creating this stuff) and each time it fails.
>
> Comments/Questions/Advice/Abuse welcomed at this point
>
> Ian
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails