From: Jamis Buck Date: 2004-07-02T05:17:58+09:00 Subject: Re: [ANN] SQLite-Ruby 1.2.0 Reimer Behrends wrote: > Jamis Buck (jgb3@email.byu.edu) wrote: > [...] > >> Yup. Just do >> >> db.use_arrayfields = false > > > Shouldn't that be off by default? I don't like the idea of the SQLite > interface suddenly breaking just because somebody is using arrayfields > somewhere else in an application. > > Reimer Behrends > > . > Using arrayfields will not break your application. In fact, from a client's perspective, really can't tell which is being used, unless you actually ask what the type of the row object is. Well, I take that back. If you are using some method of Hash on the row object (like "keys" or "values"), your code will break... I don't mind making the use of arrayfields false by default. Anyone else have a strong opinion? -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis ruby -ropenssl -e'k="01234567";p((c,c.padding,c.iv,c.key=OpenSSL::Cipher::BF.new,0,k,k*2)[0].decrypt.update("1A81803C452C324619D319F980D5B84DBB45FC0FE2BAA045".scan(/../).map{|n|n.to_i(16).chr}.join))'