Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.374 kb
require 'sequel'
Symbol.class_eval do
# Active Record calculations tries `as` on some objects but chokes when that
# object was a Symbol and it gets a Sequel::SQL::AliasedExpression.
undef as if method_defined? :as
end
db = Sequel.sqlite
db.create_table :cars do
primary_key :id, :integer, :auto_increment => true
column :name, :text
column :notes, :text
end
Jump to Line
Something went wrong with that request. Please try again.