[MacRuby-devel] Using ORM with MacRuby

Dominic Dagradi dominic at bearded.com
Tue Oct 11 14:24:16 PDT 2011


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 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.
> 
> Any ideas would be greatly appreciated.
> 
> - Jon
> 
> 
> 
> On Oct 11, 2011, at 11:27 AM, Dominic Dagradi wrote:
> > 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-to-stop-worrying-about-core-data-and-love-macruby
> > 
> > 
> > 
> > On Tuesday, October 11, 2011 at 11:20 AM, Jon Doud wrote:
> > 
> > > 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  (segmentation fault: 11) when I try to access the data table.  Datamapper doesn't even load in IRB for me.
> > > 
> > > Has anyone had any success with any ORM in XCode?
> > > 
> > > - Jon
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > MacRuby-devel mailing list
> > > MacRuby-devel at lists.macosforge.org (mailto:MacRuby-devel at lists.macosforge.org)
> > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> > 
> >  _______________________________________________
> > MacRuby-devel mailing list
> > MacRuby-devel at lists.macosforge.org (mailto:MacRuby-devel at lists.macosforge.org)
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org (mailto:MacRuby-devel at lists.macosforge.org)
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20111011/1c81639c/attachment-0001.html>


More information about the MacRuby-devel mailing list