I''m trying to work my way through the "Rolling with Ruby on Rails" tutorial using InstantRails. I just added the "scaffold: recipe" line to "recipe_controller.rb". When I point my browser to "127.0.0.1:3000/recipe/new" as instructed, I get a syntax error pointing to the space between the colon ('':'') and the ''r''. When I remove the space the syntax error disappears (but is replaced with another error that will be the subject of yet another email). The question for this email is... Is this a bug? Per Ruby/Rails syntax, Is there or is there not supposed to a space? Which is correct? 1) scaffold: recipe or 2) scaffold:recipe Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060115/9b429f0a/attachment.htm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bill Walton wrote:> to a space? Which is correct? > 1) scaffold: recipe > or > 2) scaffold:recipe3) scaffold :recipe - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDynojSIxC85HZHLMRAjPWAJ9De5UqzJloeTJK6mq0DbCkB+xvAwCff+dH 54BhlM6a/WWnCSPo0HKuZZs=4fsW -----END PGP SIGNATURE-----
Greetings! I just finished working through the "Rolling with Ruby on Rails" tutorial using InstantRails. WOW! Based on what I (a project manager / manager who hasn''t done any serious development for about 15 years) was able to produce with RoR, I am definitely impressed and motivated to learn more!!! The only quibble I have is that the tutorial is out of date. I thought... It might be helpful to have a tutorial that 1) reflects the capabilities of the "current" state of Rails, and 2) is based on InstantRails so as to be accessible to the largest number of folks. I''m thinking about starting with "RwRoR, Parts I and II", modifying it (I''m thinking CM, although some might see it as plagerism) to accomplish the above and then posting it to the wiki. Any thoughts (especially you, Curt)? Best regards, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060116/2293af66/attachment.htm
> The only quibble I have is that the tutorial is out of date. I thought...I''ve thought the exact same thing Bill. Finding good documented examples is not that easy, I''ve looked. There are some but if you are a beginner then it''ll be tough at first. There is alot of source code that is open source out there to. I''m not the kind of person that gets much by reading others source code with no comments or the bigger picture of what the code is doing. I bought the Agile Web Development with Rails book and while it is several months old it has been a very valuable resource. I''d recommend it and if you just get the PDF I think it''s around 25 dollars or so. I''d like to see some update RwRoR tutorials. If you are going to do it then I support you! Haha =)