ActiveResource works with macruby too so you can use REST and json.
Terry
On 12/10/2011, at 10:25 AM, Daniel Westendorf wrote:
> Jon,
>
> I've had success using Sequel. You need to be careful about which
> sqlite driver you use, sqlite3 is the one I think. I'm using sqlite3
> 1.3.4 I believe
Jon,
I've had success using Sequel. You need to be careful about which
sqlite driver you use, sqlite3 is the one I think. I'm using sqlite3
1.3.4 I believe.
Daniel
On Tue, Oct 11, 2011 at 3:19 PM, Jon Doud wrote:
> I thank you for the links about CoreData, but the project I am working on
> requ
Ah ha. In that case, I'd recommend a library like RestKit (http://restkit.org/)
to talk to your remote interface.
On Tuesday, October 11, 2011 at 3:19 PM, Jon Doud wrote:
> I thank you for the links about CoreData, but the project I am working on
> requires a separate database. The data will b
I thank you for the links about CoreData, but the project I am working on
requires a separate database. The data will be access through multiple
interfaces (MacRuby client, Rails client, Windows client).
I have found some success using the sqlite3 driver, but I wanted a more OOP
interface.
I don't have a good answer to your question, but may I suggest CoreData? More
to learn, but a native solution that might fit MacRuby with fewer issues:
http://cbpowell.wordpress.com/2011/05/27/macruby-notes-series-taking-the-pain-out-of-core-data-part-1/
http://cyberfox.com/blog/120-how-i-learned
I am trying to use Sequel, ActiveRecord or Datamapper with MacRuby and XCode.
So far I haven't had any success.
Environment:
XCode 4.2 Beta
MacRuby 0.10 and 0.11-nightly
Sequel 3.28
ActiveRecord 3.0.10
Datamapper 1.1.0
Sqlite3 1.3.4
Sqlite-ruby 1.3.3
Both ActiveRecord and Sequel die in IRB (s