thoughtbot / ios-on-rails

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

discrepancies with address in rails app and book #25

Closed nicolo closed 10 years ago

nicolo commented 10 years ago

There seems to have been a place model at some point. The book doesn't mention it, but it also doesn't have address as a part of the event model either.

Are you recommending just creating all the migrations in the example app before trying to work through the book? I'm on chapter one and it's been a struggle so far.

jessieay commented 10 years ago

Hi Nicolo! You are right, there was a Place model at one point. We started out with an idea of what the Humon app would look like and, as always, we ended up refactoring our original vision along the way. The rails app was originally in a different repository, and when it was moved over the git history was lost.

Thank you for pointing out that there is no address attribute added to Event with the current migrations! I do not know how that happened, but it was certainly not intentional. I will create a migration now and submit a PR.

If you see any other discrepancies between the app and book, definitely let us know. We really appreciate it! :hamster:

jessieay commented 10 years ago

fixed with cc53779d20dccb141504398dfde9d34a03eca0be :haircut: