Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Patrick Cooney
12,216 PointsBuild Rails JSON API
I hope someone can help me out. I'm trying to use Rails to build an API. I understand Rails and can build with it when I'm working normally. But when I try to use it to build an API with no views I'm just perplexed. I've googled using Rails to build and API but none of the results I've found are that helpful.
The API really just needs to be able to read and write to a database. I'm building an iPhone app that need to share data between screens and I wanted to use a Rails back-end to do it.
Does anyone know of any resources for this?
1 Answer
Samuel Wambach
3,606 PointsThis may be helpful to you: http://blog.thecodepath.com/2011/06/27/building-a-platform-api-on-rails/
Patrick Cooney
12,216 PointsPatrick Cooney
12,216 PointsThanks, hopefully this will be the one that makes sense.