Hi, I have just upgraded to rails 0.11.1 by apt-gettng rails and running rails myapp and overwriting everything but the app directory. Now AR looks for table Article where instead it should be looking for table articles (for the Article object) like it used to be. I am using Mysql 4.0.23. I also created a fresh project by running rails project, and ruby script/generate scaffold article I noticed that still AR tries to look for table Article (it generates error because my table name is articles as it should be) I have looked up changes in the latest changelog but didn''t noticed any such drastical change. Has any default pluralization changed ? Anyone noticed the same problem ? PS: I also noticed that SHOW FIELDS FROM queries are no longer submitted to the server (using production environment) Anyone ? Thanks Karol
I''m learning RoR with Four Days on Rails and I have the same problem. My Debian package version is 0.11.1-1 ciao El jue, 31-03-2005 a las 00:07 +0200, Karol Hosiawa escribió:> I also created a fresh project by running rails project, and ruby > script/generate scaffold article > I noticed that still AR tries to look for table Article (it generates > error because my table name is articles as it should be)_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Thu, 31 Mar 2005 08:03:52 +0200, Antonio Pardo <apardo-VoSeJE1XQ7yJlUPfTIlL1BgYq2vmybgD@public.gmane.org> wrote:> I''m learning RoR with Four Days on Rails and I have the same problem. My > Debian package version is 0.11.1-1 > > ciaoI have just remove rails from my installed packages (apt-get remove --purge rails ) and installed gem''s version of it. Works without any problems so there must be a bug in Debian''s version Karol
Thanks Karol, I was blocked with this problem. ciao El jue, 31-03-2005 a las 08:07 +0200, Karol Hosiawa escribió:> I have just remove rails from my installed packages (apt-get remove > --purge rails ) and installed gem''s version of it. Works without any > problems so there must be a bug in Debian''s version_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails