From: Todd Benson Date: 2008-06-28T04:05:23+09:00 Subject: Re: Sequel primary keys On Fri, Jun 27, 2008 at 1:52 PM, Glen Holcomb wrote: > Yeah, you can. For example: > > class Computer < Sequel::Model > set_schema do > primary_key :name, :type => :text, :auto_increment => false > varchar :os > varchar :ip > varchar :mac > foreign_key :lab, :labs, :type => :text > end > > many_to_one :lab > end # Computer class > > -- > "Hey brother Christian with your high and mighty errand, Your actions speak > so loud, I can't hear a word you're saying." Thanks a lot. I think I'll really look into using the sequel gem! I'm so familiar with SQL92 that it's hard to move on :-) Todd