am trying to follow the outlined steps in Agile web
development with rails book(1st edition) to develop a shopping
cart named depot.
after this command, ruby script/generate scaffold Product Admin
which is supposed to write a basic maintenance application,from
the explanations of the book when i access this address http://localhost:3000/admin the list of products needs to be
seen but that is not what i get, and it looks like the above
command did not even create admin controller in my machine.
after this command, ruby script/generate scaffold Product Admin
which is supposed to write a basic maintenance application,from
Just a guess here, but I’ll bet you’re running Rails 2.x.
Agile Web D. with Rails (AWDWR) 1st edition was written for
Rails
1.2.x. If you’re determined to start with Rails 2.x, the third edition
of
AWDWR is coming out soon and the PDF version is already available. See
-edition
Alternatively, you can drop back to Rails 1.2.x and get an understanding
of
the basics of Rails, then move forward to Rails 2.x and learn about REST
and
the Rails routing engine. If you’re on Windows, I recommend
InstantRails
(version 1.7) as an easy starting point. It’s at http://rubyforge.org/frs/?group_id=904
after this command, ruby script/generate scaffold Product Admin
which is supposed to write a basic maintenance application,from
Just a guess here, but I’ll bet you’re running Rails 2.x.
Agile Web D. with Rails (AWDWR) 1st edition was written for
Rails
1.2.x. If you’re determined to start with Rails 2.x, the third edition
of
AWDWR is coming out soon and the PDF version is already available. See Pragmatic Bookshelf: By Developers, For Developers
-edition
Alternatively, you can drop back to Rails 1.2.x and get an understanding
of
the basics of Rails, then move forward to Rails 2.x and learn about REST
and
the Rails routing engine. If you’re on Windows, I recommend
InstantRails
(version 1.7) as an easy starting point. It’s at http://rubyforge.org/frs/?group_id=904
HTH,
Bill
Hi Bill
thanks for the clarification, yes indeed am running rails 2.1.
now exactly what to do thanks very much.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.