faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
<FromGitter> <Blacksmoke16> been thinking about how i wanted to implement stuff in the annotation version of granite
<FromGitter> <Blacksmoke16> i.e. handle relations via an annotation as well
<FromGitter> <eliasjpr> you are turning into the annotation man
<FromGitter> <eliasjpr> 😅
<FromGitter> <Blacksmoke16> i try :p
feepbot has quit [Ping timeout: 250 seconds]
feepbot has joined #amber
feepbot has quit [Ping timeout: 240 seconds]
feepbot has joined #amber
newbie009 has joined #amber
newbie009 has quit [Quit: Leaving.]
<FromGitter> <alexanderadam> Hi folks
<FromGitter> <alexanderadam> I'm new to Amber and experience a strange issue: I can apply migrations but the moment the application tries to make a DB query it fails with ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ I did not much except setting up a new app and generating the auth stuff. [https://gitter.im/amberframework/amber?at=5c49dda483189945243fd7c0]
<FromGitter> <Blacksmoke16> using granite?
<FromGitter> <alexanderadam> yes
<FromGitter> <Blacksmoke16> got some more code to share?
<FromGitter> <Blacksmoke16> only thing i can think of atm is make sure your declaring your adapter url early and its correct
<FromGitter> <alexanderadam> Are you interested in a particular code snippet? ⏎ I didn't change much.
<FromGitter> <Blacksmoke16> a simple example of what you have going on that causes the error would be great
<FromGitter> <Blacksmoke16> like in one file or something
<FromGitter> <alexanderadam> The whole repo is very small. I've sent it to you. I run it with `docker-compose up` and that's it.
<FromGitter> <Blacksmoke16> yea so your db is using the url defined in`Amber.settings.database_url`
<FromGitter> <Blacksmoke16> which does not match the ones you defined in your docker-compose
<FromGitter> <Blacksmoke16> co like change
<FromGitter> <Blacksmoke16> `Granite::Adapters << Granite::Adapter::Pg.new({name: "pg", url: Amber.settings.database_url})`
<FromGitter> <Blacksmoke16> to
<FromGitter> <alexanderadam> indeed!
<FromGitter> <Blacksmoke16> `
<FromGitter> <Blacksmoke16> or update the one in the settings yaml file
<FromGitter> <alexanderadam> thank you
<FromGitter> <Blacksmoke16> np
<FromGitter> <alexanderadam> This was a very stupid mistake. 😉
<FromGitter> <Blacksmoke16> np
<FromGitter> <alexanderadam> Is there no default logging in amber?
<FromGitter> <alexanderadam> I mean something like `log/development.log` or so?
<FromGitter> <Blacksmoke16> im not sure
<FromGitter> <Blacksmoke16> i never actually used amber
<FromGitter> <Blacksmoke16> :3
<FromGitter> <alexanderadam> 😉
<FromGitter> <alexanderadam> thank you so much again!
<FromGitter> <Blacksmoke16> np
_whitelogger has joined #amber