objectiveresource
A port of Ruby on Rails' ActiveResource to Objective-C (and specifically the iPhone)
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
Source: (StackOverflow)
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 Rails. ObjectiveResource points to sessions.json with a Post I guess when creating a session.
In my routes file I am using
map.resources :sessions
map.connect ':controller.:format'
map.connect ':controller/:action.:format'
Source: (StackOverflow)
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]: unrecognized selector sent to instance 0x5c671f0
2011-03-02 02:07:56.169 Mobile[13839:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSDecimalNumber allKeys]: unrecognized selector sent to instance 0x5c671f0'
*** Call stack at first throw:
(
0 CoreFoundation 0x0133bbe9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x014905c2 objc_exception_throw + 47
2 CoreFoundation 0x0133d6fb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x012ad366 ___forwarding___ + 966
4 CoreFoundation 0x012acf22 _CF_forwarding_prep_0 + 50
5 Mobile 0x00013aa5 +[NSObject(JSONSerializableSupport) deserializeJSON:] + 832
6 Mobile 0x000138ad +[NSObject(JSONSerializableSupport) deserializeJSON:] + 328
7 Mobile 0x00012f0e +[NSObject(JSONSerializableSupport) fromJSONData:] + 161
8 Mobile 0x0000c8fa +[NSObject(ObjectiveResource) findAllRemoteWithResponse:] + 336
9 Mobile 0x0000c933 +[NSObject(ObjectiveResource) findAllRemote] + 43
10 Mobile 0x00004732 -[AllTableViewController refresh] + 103
Source: (StackOverflow)
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 framework?
Source: (StackOverflow)
I recently came across ObjectiveResource and it appears to be a fantastic tool. All my back-ends are written in Python, and I don't have a lot of experience with Ruby nor Rails. Is there a similar project for Python?
Source: (StackOverflow)
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), I don't need when communicating with an iphone. How can I separate the logic for the iphone and the web in my controller?
Should I use separate controllers for web and iphone communication?
What's the best tool/framework on the iphone to exchange data and images with a rails app? I looked at ObjectiveResource, but I'm not sure if it will to the trick (including image uploads).
Source: (StackOverflow)