[MacRuby-devel] Using ORM with MacRuby
terl
tvmoore at mac.com
Tue Oct 11 14:27:04 PDT 2011
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.
>
> Daniel
>
> On Tue, Oct 11, 2011 at 3:19 PM, Jon Doud <jon.doud at gmail.com> 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
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> 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
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list