Sha256: a5488d93889ffc7f6235574ca01d1dd4e871e19992daaa690fd71b49107bdaac

Contents?: true

Size: 362 Bytes

Versions: 20

Compression:

Stored size: 362 Bytes

Contents

require 'sequel'
require 'sequel/extensions/inflector'

module Blog
  DB = Sequel.sqlite("#{__DIR__}/../blog.db")
  # DB = Sequel.connect("sqlite:///#{__DIR__}/../blog.db")
end

Sequel::Model.plugin :validation_class_methods
Sequel::Model.plugin :schema
Sequel::Model.plugin :hook_class_methods

require 'model/tag'
require 'model/entry'
require 'model/comment'

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
Pistos-ramaze-2009.06.12 examples/app/blog/model/init.rb
manveru-ramaze-2009.04.22 examples/app/blog/model/init.rb
manveru-ramaze-2009.04 examples/app/blog/model/init.rb
manveru-ramaze-2009.05.08 examples/app/blog/model/init.rb
manveru-ramaze-2009.05 examples/app/blog/model/init.rb
manveru-ramaze-2009.06.04 examples/app/blog/model/init.rb
manveru-ramaze-2009.06.12 examples/app/blog/model/init.rb
manveru-ramaze-2009.06 examples/app/blog/model/init.rb
manveru-ramaze-2009.07 examples/app/blog/model/init.rb
rjspotter-ramaze-2009.06.29 examples/app/blog/model/init.rb
rjspotter-ramaze-2009.06.31 examples/app/blog/model/init.rb
ramaze-2010.03 examples/app/blog/model/init.rb
ramaze-2010.01 examples/app/blog/model/init.rb
ramaze-2009.10 examples/app/blog/model/init.rb
ramaze-2009.07 examples/app/blog/model/init.rb
ramaze-2009.05 examples/app/blog/model/init.rb
ramaze-2009.04 examples/app/blog/model/init.rb
ramaze-2009.06 examples/app/blog/model/init.rb
ramaze-2009.06.12 examples/app/blog/model/init.rb
ramaze-2009.06.04 examples/app/blog/model/init.rb