Sha256: 32ff578730437a9ee348a50361a58508c6a007b160940acacd5870db41dec4c8
Contents?: true
Size: 316 Bytes
Versions: 2
Compression:
Stored size: 316 Bytes
Contents
require "sequel/core" # initialize Sequel and have it reuse Active Record's database connection <% if RUBY_ENGINE == "jruby" -%> DB = Sequel.connect("jdbc:<%= sequel_adapter %>://", extensions: :activerecord_connection) <% else -%> DB = Sequel.<%= sequel_adapter %>(extensions: :activerecord_connection) <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rodauth-rails-0.4.2 | lib/generators/rodauth/templates/config/initializers/sequel.rb |
rodauth-rails-0.4.0 | lib/generators/rodauth/templates/config/initializers/sequel.rb |