[MacRuby-devel] Sqlite3 without core data

Petr Kaleta petr.kaleta at me.com
Thu Apr 28 06:32:13 PDT 2011


So I've made some tests. This sample is working without any problems with ruby 1.8.7 and 1.9.2 but is not working with Macruby.

Anybody here using Sequel with Macruby 0.10?

- Petr

On Apr 28, 2011, at 12:33 PM, Petr Kaleta wrote:

> One Sequel related question: check this simple code http://pastie.org/1842796
> 
> I'm getting this very strange exception:
> 
> /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/sequel-3.22.0/lib/sequel/model/base.rb:1378:in `set_restricted:': undefined local variable or method `model' for #<Item:0x2010af5e0> (NameError)
> 
> Am I doing something wrong?
> 
> - Petr
> 
> On Apr 18, 2011, at 1:47 PM, Rolando Abarca wrote:
> 
>> try sequel: http://sequel.rubyforge.org/
>> 
>> On Mon, Apr 18, 2011 at 6:11 AM, Petr Kaleta <petr.kaleta at me.com> wrote:
>>> Can you suggest me some gem/framework to work with Sqlite3 without core data? Something which has nice DSL and good performance.
>>> 
>>> Thanks
>>> 
>>> - Petr
>> 
>> hth,
>> -- 
>> Rolando Abarca M.
>> Games For Food S.p.A.
>> http://www.gamesforfood.com
>> Phones: +1 (408) 345-5433
>> +56 (2) 581-4591
>> _______________________________________________
>> 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