> because I cannot define classes inside of a method
why?
ruby-1.9.2-p180 :007 > identify_class =
Class.new(Sequel::Model(:identifies))
=> #<Class:0xabb9c48>
ruby-1.9.2-p180 :008 > identify_class.first
INFO - [21/Mar/2011 20:31:15] "(0.000483s) SELECT * FROM
"identifies" LIMIT 1"
=> #<
@values={:id=>8128, :identify_group_id=>3130, :kind=>2, :value=>"1234567",
:time_from=>2004-10-21
00:00:00 +0400, :time_to=>2005-12-31 00:00:00 +0300, :not_send_to=>""}
>
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.