iridakos / duckrails

Development tool to mock API endpoints quickly and easily (docker image available)
https://github.com/iridakos/duckrails/wiki
MIT License
1.72k stars 108 forks source link

remove db dependency from initializers #14

Closed jmh closed 8 years ago

jmh commented 8 years ago

This was causing an issue while building a docker image when the database isn't available. Specifically rake assets:precompile was failing.

iridakos commented 8 years ago

Hi @jmh,

This has already changed in master branch.

Do you still have problems with the initializer?

jmh commented 8 years ago

@iridakos I didn't notice you'd changed away from ActiveRecord.connection in the initializer. I'll remember to check for upstream changes before the next PR.

iridakos commented 8 years ago

@jmh Cool :+1: