Using sequel 3.0.0
I thought the following simple code would work, but it fails with
Sequel::Error: Record not found
<code>
require 'rubygems'
require 'sequel'

DB = Sequel.sqlite
DB.create_table(:instances) do
  String :id, :primary_key=>true
  String :name
end

class Instance < Sequel::Model
end

new_inst = Instance.create(:name=>'joe')
</code>


http://gist.github.com/106937
<script src="http://gist.github.com/106937.js";></script>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to