SqlAdapter exception after update

Good day, all

I’m getting the following exception after updating lotusrb from 0.3.2 to 0.4.0

Cannot instantiate adapter of Lotus::Model::Adapters::SqlAdapter (Sequel::Database.connect takes either a Hash or a String, given: nil)

Stack trace is here: https://gist.github.com/darwinrc/359bbda691ef81ce22d6

Thanks in advance for your help!

@darwinrc Hello, have you moved your .env files from config/ to the root of the project?

See http://lotusrb.org/blog/2015/06/23/announcing-lotus-040.html and https://github.com/lotus/lotus/blob/master/CHANGELOG.md#changed

Good day, @jodosha

That was my problem. Sorry for not reading carefully the changelog.

Thanks a lot!

1 Like

@darwinrc Anytime :+1: