On Fri, Dec 24, 2004 at 08:11:42AM -0800, Joe Van Dyk
wrote:> tatus: O
> Content-Length: 910
> Lines: 32
>
> What version of Rails do you have?
>
I thought is was 0.9.2, but it looks like it is 0.9.1
It was a remote server that''s why I made the mistake.
On my local computer with 0.9.2 it''s working fine.
PS: Wouldn''t be a good idea to support ''rails
--version''?
>
> On Fri, 24 Dec 2004 14:48:45 +0100, Roeland Moors
> <roelandmoors-CNXmb7IdZIWZIoH1IeqzKA@public.gmane.org> wrote:
> > I''m trying to create something simple with rails.
> > First I create a model and controller with the same name and then
> > I place something like this in the controller:
> >
> > def list
> > @addresses = Address.find_all
> > end
> >
> > But if I run this ''Address'' can''t be found.
Adding model :address
> > helps, but isn''t this suppose to be done by default?
> >
> > I have the same problem with script/generate scaffold, I have to
> > add the model :name first before it works.
> >
> > --
> > Roeland
> > _______________________________________________
> > 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.r