Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Say, anyone familiar with Rails? (n00b question)
#1
rails ~/Desktop/rails1

(The MySQL database, with the table `person` already exists.)

./generate scaffold person person

sometimes, that returns an error. A bit of Googling indicates that I should try

./generate scaffold person

Settings in ./config/database.yml are tweaked.

Index page ("Riding the rails!") indicates no problems. However,

http://localhost:3000/person/

Shows...

No route matches "/person/" with {:method=>:get}

Yuck. I don't even have enough knowledge at this point to be dangerous...just confused.

Assistance is appreciated!
Reply


Messages In This Thread
Say, anyone familiar with Rails? (n00b question) - by Greg the dogsitter - 12-11-2007, 10:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)