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
#2
I can't offer any help--but you may try posting here:

http://www.webhostingtalk.com/forumdisplay.php?f=37

also--experts-exchange.com can be good for these specific types of questions. I use both forums for questions all the time about PHP, and I'll often find what I need at either or both places

good luck
Reply
#3
RoR is a passing fad.

does Ruby support UTF8???
Reply
#4
good luck with that scaffolding thing. Sounds dangerous.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)