Questions tagged [objectiveresource]

ObjectiveResource is an Objective-C port of Ruby on Rails' ActiveResource. It provides a way to serialize objects to and from Rails' standard RESTful web-services (via XML or JSON) and handles much of the complexity involved with invoking web-services of any language from the iPhone.

http://iphoneonrails.com/

6 questions
1
vote
2 answers

Communication between iPhone App and Rails App

What is the best way to communicate between an iphone app and a rails web app? I need to be able to register as a user, edit my profile and upload, rate and comment images in the rails web app. In my rails controllers I have a lot of stuff (logic),…
Arwed
  • 1,755
  • 3
  • 16
  • 26
0
votes
3 answers

Up to date alternative to ObjectiveResource for iPhone+Rails?

I'm creating a Rails app with an iOS client and found ObjectiveResource. It looks awesome for CRUD operations, but it hasn't been updated since 2009 so it seems built for rails2 and the first iphone sdk. Does anyone know of a similar but up to date…
John
  • 5,835
  • 8
  • 28
  • 36
0
votes
3 answers

iPhone: how many objects should I bring back from webservice?

I am using a Rails webservice and was wondering how many json objects I should bring back on the first call? Options: Bring back 200 webservice but only show 25 in the uitableview w/ Load more feature? Bring back 25 and on clicking load more…
jdog
  • 10,351
  • 29
  • 90
  • 165
0
votes
3 answers

unrecognized selector sent to instance

Possible Duplicate: Unrecognized selector sent to instance Can anyone tell me what is going on in this error code? Man apple is cryptic. I have just made a call via ObjectiveResource to data I know is fine. -[NSDecimalNumber allKeys]:…
jdog
  • 10,351
  • 29
  • 90
  • 165
0
votes
2 answers

No route matches "/sessions.json

So why would I be getting this error and why its pointing to localhost instead of localhost:3000? Completed in 27ms (View: 3, DB: 13) | 406 Not Acceptable [http://localhost/sessions.json] I am trying to use ObjectiveResource (iphone app) and…
jdog
  • 10,351
  • 29
  • 90
  • 165
-2
votes
1 answer

What API to use for uploading images to a Rails based website from an iPhone application?

Looking at using either ObjectiveResource or ASIHTTPRequest ... Which is superior for uploading images? Or is there a better option??? Are there any examples of using either or both to upload images (or any other binary content)? Thanks
wgpubs
  • 8,131
  • 15
  • 62
  • 109