thoughtbot / ios-on-rails

A guide to building a Rails API and iOS app
Other
76 stars 6 forks source link

Fix the code snippets in paragraph "Creating the User Object" from chapter "The User Object" #82

Closed sirdharma closed 9 years ago

sirdharma commented 10 years ago

In paragraph "Creating the User Object" from chapter "The User Object" both code snippets (implementations for the methods + (NSNumber *)userID, + (void)setUserID:(NSNumber *)userID and + (BOOL)userMatchesCurrentUserSession:(HUMUser *)user) refer to being written in HUMUser.m while they should of course be placed in HUMUserSession.m.

dazmuda commented 9 years ago

Fixed in https://github.com/thoughtbot/ios-on-rails/pull/91. Thanks for pointing that out! Glad it didn't cause you too much confusion.