Hi Guys, I''m totally new to RoR and have been using the following website as reference http://developer.apple.com/tools/developonrailsleopard.html It works fine up until the part where i have to type the following into Terminal. script/generate scaffold event name:string budget:decimal i get the following error wrong constant name Name:stringController I have followed only the actions set out in the above link, and it is a fresh install of Leopard. Can anyone help me find out where i''ve gone wrong.. at such an early stage! Thanks again Andy -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 22 Jan 2009, at 23:08, Andrew Norton wrote:> > Hi Guys, > I''m totally new to RoR and have been using the following website as > reference > > http://developer.apple.com/tools/developonrailsleopard.html > > It works fine up until the part where i have to type the following > into > Terminal. > > script/generate scaffold event name:string budget:decimal > > i get the following error > > wrong constant name Name:stringController > > I have followed only the actions set out in the above link, and it > is a > fresh install of Leopard. >Does this mean you haven''t update rails ? Leopard ships with 1.2.6 IIRC, and that article says it requires 2.0.2> > Can anyone help me find out where i''ve gone wrong.. at such an early > stage! > > Thanks again > > Andy > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I get the same error while using Aptana''s IDE with rails 2.0.2. On Jan 22, 7:03 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 22 Jan 2009, at 23:08, Andrew Norton wrote: > > > > > > > Hi Guys, > > I''m totally new to RoR and have been using the following website as > > reference > > >http://developer.apple.com/tools/developonrailsleopard.html > > > It works fine up until the part where i have to type the following > > into > > Terminal. > > > script/generate scaffold event name:string budget:decimal > > > i get the following error > > > wrong constant name Name:stringController > > > I have followed only the actions set out in the above link, and it > > is a > > fresh install of Leopard. > > Does this mean you haven''t update rails ? Leopard ships with 1.2.6 > IIRC, and that article says it requires 2.0.2 > > > > > Can anyone help me find out where i''ve gone wrong.. at such an early > > stage! > > > Thanks again > > > Andy > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve only just installed leopard, and then xcode 3. following these commands from (http://developer.apple.com/tools/developonrailsleopard.html) led me to the above error message sudo gem update --system sudo gem install rails sudo gem update rake sudo gem update sqlite3-ruby *do start server script(script/server)* rails expenses script/generate scaffold event name:string budget:decimal - wrong constant name Name:stringController have i missed out an action? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Does anyone have ideas about this? This problem is a big hinder to development. On Jan 23, 4:22 am, Andy Rails <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I''ve only just installed leopard, and then xcode 3. > > following these commands from > (http://developer.apple.com/tools/developonrailsleopard.html) led me to > the above error message > > sudo gem update --system > sudo gem install rails > sudo gem update rake > sudo gem update sqlite3-ruby > *do start server script(script/server)* > rails expenses > script/generate scaffold event name:string budget:decimal > - wrong constant name Name:stringController > > have i missed out an action? > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sat, Jan 24, 2009 at 8:58 AM, James Pellerano <jamespellerano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:>> following these commands from >> (http://developer.apple.com/tools/developonrailsleopard.html) led me to >> the above error message >> >> sudo gem update --system >> sudo gem install rails >> sudo gem update rake >> sudo gem update sqlite3-ruby >> *do start server script(script/server)*I don''t see that line anywhere on the referenced page...>> rails expensesOK, so you created a new project -- before you did anything else did you start the server to see if it ran "out of the box"? Or run `script/about`? I''d do those first.>> script/generate scaffold event name:string budget:decimal >> - wrong constant name Name:stringControllerYou also might updating your Rails version to something close to current, create a new project with it, see if that basically runs, and then try generating your scaffold. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
So I did a update and it says it updated rails, but there is no difference when I run scaffold. On Jan 24, 1:38 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, Jan 24, 2009 at 8:58 AM, James Pellerano > > <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> following these commands from > >> (http://developer.apple.com/tools/developonrailsleopard.html) led me to > >> the above error message > > >> sudo gem update --system > >> sudo gem install rails > >> sudo gem update rake > >> sudo gem update sqlite3-ruby > >> *do start server script(script/server)* > > I don''t see that line anywhere on the referenced page... > > >> rails expenses > > OK, so you created a new project -- before you did anything else > did you start the server to see if it ran "out of the box"? Or run > `script/about`? I''d do those first. > > >> script/generate scaffold event name:string budget:decimal > >> - wrong constant name Name:stringController > > You also might updating your Rails version to something close to > current, create a new project with it, see if that basically runs, and > then try generating your scaffold. > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
So I did a update and it says it updated rails, but there is no difference when I run scaffold. On Jan 24, 1:38 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, Jan 24, 2009 at 8:58 AM, James Pellerano > > <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> following these commands from > >> (http://developer.apple.com/tools/developonrailsleopard.html) led me to > >> the above error message > > >> sudo gem update --system > >> sudo gem install rails > >> sudo gem update rake > >> sudo gem update sqlite3-ruby > >> *do start server script(script/server)* > > I don''t see that line anywhere on the referenced page... > > >> rails expenses > > OK, so you created a new project -- before you did anything else > did you start the server to see if it ran "out of the box"? Or run > `script/about`? I''d do those first. > > >> script/generate scaffold event name:string budget:decimal > >> - wrong constant name Name:stringController > > You also might updating your Rails version to something close to > current, create a new project with it, see if that basically runs, and > then try generating your scaffold. > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sun, Jan 25, 2009 at 7:47 PM, James Pellerano <jamespellerano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > So I did a update and it says it updated rails, but there is no > difference when I run scaffold.>> OK, so you created a new project -- before you did anything else >> did you start the server to see if it ran "out of the box"? Or run >> `script/about`?So what''s the output of both of the above? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I still get the "Wrong constant name:stringController" On Jan 26, 12:05 am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Jan 25, 2009 at 7:47 PM, James Pellerano > > <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > So I did a update and it says it updated rails, but there is no > > difference when I run scaffold. > >> OK, so you created a new project -- before you did anything else > >> did you start the server to see if it ran "out of the box"? Or run > >> `script/about`? > > So what''s the output of both of the above? > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I still get the "Wrong constant name:stringController" On Jan 26, 12:05 am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Jan 25, 2009 at 7:47 PM, James Pellerano > > <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > So I did a update and it says it updated rails, but there is no > > difference when I run scaffold. > >> OK, so you created a new project -- before you did anything else > >> did you start the server to see if it ran "out of the box"? Or run > >> `script/about`? > > So what''s the output of both of the above? > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I still get the "Wrong constant name:stringController" On Jan 26, 12:05 am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Jan 25, 2009 at 7:47 PM, James Pellerano > > <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > So I did a update and it says it updated rails, but there is no > > difference when I run scaffold. > >> OK, so you created a new project -- before you did anything else > >> did you start the server to see if it ran "out of the box"? Or run > >> `script/about`? > > So what''s the output of both of the above? > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
so I have been using Aptana Studio as an IDE. I am on Mac OS 10.5, so I went to the terminal and typed in "sudo gem update --system" and let it run through the updates, and in the terminal i typed in "rails expenses" and it worked and then i typed in "script/generate scaffold events ..." and I didnt get any errors. I hope this works for others! :) On Jan 26, 12:43 am, James Pellerano <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I still get the "Wrong constant name:stringController" > > On Jan 26, 12:05 am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > On Sun, Jan 25, 2009 at 7:47 PM, James Pellerano > > > <jamespeller...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > So I did a update and it says it updated rails, but there is no > > > difference when I run scaffold. > > >> OK, so you created a new project -- before you did anything else > > >> did you start the server to see if it ran "out of the box"? Or run > > >> `script/about`? > > > So what''s the output of both of the above? > > > -- > > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---