It seems the value of identifier_input_method is cached and must be specified before any Sequel operations.
Has no effect here: $ sequel ado://xxx:x...@localhost/vulcan Your database is stored in DB... irb(main):001:0> DB[:offers] => #<Sequel::ADO::MSSQL::Dataset: "SELECT * FROM [OFFERS]"> irb(main):002:0> Sequel.identifier_input_method = :downcase => :downcase irb(main):003:0> DB[:offers] => #<Sequel::ADO::MSSQL::Dataset: "SELECT * FROM [OFFERS]"> irb(main):004:0>exit Works here: $ sequel ado://xxx:x...@localhost/vulcan Your database is stored in DB... irb(main):001:0> Sequel.identifier_input_method = :downcase => :downcase irb(main):002:0> DB[:offers] => #<Sequel::ADO::MSSQL::Dataset: "SELECT * FROM [offers]"> irb(main):003:0> I would like my migrations to create columns with lowercase names, however specifying Sequel.identifier_input_method = :downcase in a migration file does not work. Is there a way to do this? Thanks, Rohit -- 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.
