GrailsInAction / graina2

Source code for the 2nd edition of Grails in Action
90 stars 92 forks source link

MEAP V10 - Still a lot of code snippets in the book with userId instead of loginId #38

Open magnuspalmer opened 11 years ago

magnuspalmer commented 11 years ago

The code on GitHub is consequently using User.loginId but there are still a lot of code snippets using User.userId

No big deal and I assume this is something that you already planned to clean up but just so you don't miss it I put a ticket for it now.

Some of the references, there are more and easily found by search in the pdf document: Listing 3.3 Listing 3.11 Listing 6.1 (findByUserId, GitHub code is findByLoginId)

pledbrook commented 11 years ago

You're right. I have updated the chapter 3 and 6 manuscripts. The chapter 11 manuscript is fine, so I don't know why the old code is still in the MEAP. I'll find out.

pledbrook commented 10 years ago

Hmmm...there are still a lot of references it seems. Will keep this open until we've eliminated them all.