[Instantrails-users] scaffold syntax?

Bill Walton
Sun, 15 Jan 2006 16:16:59 -0000

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...