JimDykes (2) [Avatar] Offline
#1
When I generate a scaffold as per 1.2.4, I do not get listing 1.1.
Also I do not know where to find db/migrate with the [date]_create_purchases.rb
file.
JimDykes (2) [Avatar] Offline
#2
Re: Ch 1 p7 and 8 Scaffolding
I figured it out.

I needed to go to the db folder before running "rails generate scaffold purchase
name:string cost:float:
ryanbigg (423) [Avatar] Offline
#3
Re: Ch 1 p7 and 8 Scaffolding
You should only need to go to the root of the application. That is, the directory that is one above the db directory.