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
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
feepbot has quit [Ping timeout: 245 seconds]
feepbot has joined #amber
<FromGitter> <eliasjpr> @Blacksmoke16 is granite broken currently?
<FromGitter> <eliasjpr> I am getting an error performing Model.all any ideas?
<FromGitter> <Blacksmoke16> on master?
<FromGitter> <eliasjpr> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c8e425e9d9cc8114ad59e4b]
<FromGitter> <Blacksmoke16> :thinking:
<FromGitter> <eliasjpr> ``` granite: ⏎ github: amberframework/granite ⏎ version: ~> 0.15.0``` [https://gitter.im/amberframework/amber?at=5c8e4279fcaf7b5f73cb6610]
<FromGitter> <Blacksmoke16> whats your model look like?
<FromGitter> <eliasjpr> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c8e42c6dfc69a1454ab6914]
<FromGitter> <Blacksmoke16> did this just start happening or?
<FromGitter> <eliasjpr> I just created an app and a scaffold-ed a model
<FromGitter> <Blacksmoke16> moment
<FromGitter> <Blacksmoke16> ill see if i can reprodue
<FromGitter> <eliasjpr> Proc(Array(Lesson)), not Proc(Array(Lesson)) this is the weird part `Proc(Array(Lesson)), not Proc(Array(Lesson))`
<FromGitter> <Blacksmoke16> yea no kidding
<FromGitter> <eliasjpr> :D
<FromGitter> <eliasjpr> 😅
<FromGitter> <eliasjpr> did crystal changed or something
<FromGitter> <eliasjpr> maybe is a crystal issue
<FromGitter> <eliasjpr> Also when running something like `Model.where('some condition')` is that all is needed?
<FromGitter> <eliasjpr> my impressions is that you would do something like `Model.where('some condition').all` or `Model.where('some condition').first` etc to trigger the call
<FromGitter> <Blacksmoke16> oih
<FromGitter> <Blacksmoke16> is that what you're doing?
<FromGitter> <Blacksmoke16> `Model.where('some condition').all`
<FromGitter> <eliasjpr> no
<FromGitter> <eliasjpr> Im simply doing `Model.all`
<FromGitter> <eliasjpr> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c8e453d8aa66959b62545a7]
<FromGitter> <Blacksmoke16> try making it `Lesson.all.to_a`
<FromGitter> <eliasjpr> same error
<FromGitter> <eliasjpr> I wonder if the PG driver was updated
<FromGitter> <eliasjpr> were you able to reproduce?
<FromGitter> <Blacksmoke16> not yet
<FromGitter> <Blacksmoke16> trying with exact model you had now
<FromGitter> <Blacksmoke16> naw man, works fine for me
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c8e46812fb6800d8034c4af]
<FromGitter> <Blacksmoke16> are you able to produce it with *only* granite?
<FromGitter> <Blacksmoke16> like a cr file that adds the adapter, defines the model then prints `Model.all`?
<FromGitter> <eliasjpr> im going to try to recreate the app
<FromGitter> <eliasjpr> I must have change something then
<FromGitter> <Blacksmoke16> :shrug:
<FromGitter> <eliasjpr> I did remove a bunch of files since I am building an api
<FromGitter> <Blacksmoke16> coughtryathenacough
<FromGitter> <Blacksmoke16> is what i made it for 😉
<FromGitter> <eliasjpr> lol :)
<FromGitter> <eliasjpr> whats your crystal version
<FromGitter> <eliasjpr> just one to confirm that
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c8e48bffcaf7b5f73cb8d57]
<FromGitter> <eliasjpr> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c8e48d6a21ce51a2075a67c]
<FromGitter> <eliasjpr> got the same
<FromGitter> <eliasjpr> granite version?
<FromGitter> <Blacksmoke16> uh whatever the latest is
<FromGitter> <Blacksmoke16> .15.2 i think
<FromGitter> <Blacksmoke16> i just fixed an issue by doing `rm -rf ~/.cache/crystal/ ~/.cache/shards/`
<FromGitter> <Blacksmoke16> `rm -rf lib/ bin/ shard.lock athena.yml && shards install`
<FromGitter> <Blacksmoke16> :shrug:
<FromGitter> <eliasjpr> lets see
<FromGitter> <eliasjpr> is building
<FromGitter> <eliasjpr> :(
<FromGitter> <Blacksmoke16> same error?
<FromGitter> <eliasjpr> yeah
<FromGitter> <Blacksmoke16> welp
<FromGitter> <eliasjpr> Im going to regenerate the app
<FromGitter> <Blacksmoke16> rgr
<FromGitter> <eliasjpr> is working, I regenerated the ap
<FromGitter> <eliasjpr> I must have done something unnoticed
<FromGitter> <Blacksmoke16> 👍
<FromGitter> <paul.h_gitlab> Is there any editor extension for amber? vscode, idea etc.
_whitelogger has joined #amber
<FromGitter> <eliasjpr> There is crystal support for VS Code and Vim
<FromGitter> <eliasjpr> Not sure idea
<FromGitter> <bew> They're not specific to amber though