in chapter 7.4 it has --
when i open that module it has
which is correct, class or id?
It is id as can be seen here. The guide needs to change.
I've addressed it here: rails/docrails@3cf22c8
change class to id per scaffold change