Hey everyone,
I am new to ROR. I have been reading “Begininng Ruby on Rails” by Steven
Holznewr and “Ruby on Rails for Dummies” by Barry B… I have been
going through this a lot slower than I would like, because many of the
examples don’t work and I’ve been trying to glean information from both
books to get them working. My current problem is this:
Following Chapter 9 in “Ruby on Rails for Dummies” we are trying to
build a website for Photos. This website will interface with a mysql
database. I have built out the database, created a model, created a
database table, wrote some code in the migration code to create a column
for filename and description, and created a scaffold.
When I launch the server and view my website for extension photos/new
(creating a new photo in the database), I just see a button titled
“Create”. The book shows a screenshot of two text fields being created,
one for filename and one for description. I’m assuming that I have to
add code to the scaffold to show these forms, is this true? Otherwise
I’m just adding blank entries.
I am currently using
Rad Rails 1.5.0.025739
Ruby 1.8.6
and I believe Rails 2.2
Any suggestions on what I’m missing?