Hi --
New to this environment and working my way through "Agile Web Development with Rails". I had a problem with decimal fields and am using Edge Rails now to get around that issue - only I am now experiencing other problems...
If you have this book, the exercise is Iteration A4: Prettier Listings
I have generated some ruby script with the command: ruby script/generate scaffold product admin
The script produced is as follows:
class AdminController < ApplicationController def index
...
When this script is called (http://localhost:3000/admin the following error is generated:
app/models/product.rb:11: parse error, unexpected $, expecting kEND RAILS_ROOT: script/../config/..
It's hard to know the problem without seeing product.rb.
David