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> <charleystran> I have been looking through the documentation and can't find my answer. Does amber support a has_one relationship based on multiple keys?
<FromGitter> <Blacksmoke16> not directly
<FromGitter> <Blacksmoke16> but you could just do like
<FromGitter> <Blacksmoke16> ```def some_method ⏎ SomeClass.find_by(arg1: @arg1, arg2: @arg2) ⏎ end``` [https://gitter.im/amberframework/amber?at=5d896f8ca38dae3a63a83c3d]
<FromGitter> <charleystran> ok cool thanks!
_whitelogger has joined #amber
fyber has quit [Read error: Connection reset by peer]
feepbot has quit [Ping timeout: 245 seconds]
feepbot has joined #amber
<FromGitter> <colinross> Just reading up on the issue created by "update to crystal-db ~> 0.7.0 and Crystal 0.31.0" PR. Is there a solution that would allow a new app (without an existing shard.lock) right now? I tried switching the repo to bcardiff's but still getting the 'Error resolving db (*, ~> 0.6.0, ~> 0.6.0, ~> 0.6.0, ~> 0.7.0)' thing on `shard install`
<FromGitter> <colinross> My problem was that the shards.yml I had was made with the broken version. Also had to bump up crystal-pg to `0.19.0` :rubber_duck:
<FromGitter> <Blacksmoke16> what other deps do you have?