SqlAdapter exception after update


#1

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!


#2

@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


#3

Good day, @jodosha

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

Thanks a lot!


#4

@darwinrc Anytime :+1:


#5