03:41
_whitelogger has joined #amber
06:41
_whitelogger has joined #amber
09:29
_whitelogger has joined #amber
09:53
_whitelogger has joined #amber
11:30
feepbot has quit [Ping timeout: 245 seconds]
11:31
feepbot has joined #amber
12:48
<
FromGitter >
<eliasjpr> @Blacksmoke16 is granite broken currently?
12:48
<
FromGitter >
<eliasjpr> I am getting an error performing Model.all any ideas?
12:49
<
FromGitter >
<Blacksmoke16> on master?
12:49
<
FromGitter >
<Blacksmoke16> :thinking:
12:50
<
FromGitter >
<Blacksmoke16> whats your model look like?
12:52
<
FromGitter >
<Blacksmoke16> did this just start happening or?
12:52
<
FromGitter >
<eliasjpr> I just created an app and a scaffold-ed a model
12:52
<
FromGitter >
<Blacksmoke16> moment
12:52
<
FromGitter >
<Blacksmoke16> ill see if i can reprodue
12:53
<
FromGitter >
<eliasjpr> Proc(Array(Lesson)), not Proc(Array(Lesson)) this is the weird part `Proc(Array(Lesson)), not Proc(Array(Lesson))`
12:54
<
FromGitter >
<Blacksmoke16> yea no kidding
12:54
<
FromGitter >
<eliasjpr> :D
12:54
<
FromGitter >
<eliasjpr> 😅
12:55
<
FromGitter >
<eliasjpr> did crystal changed or something
12:55
<
FromGitter >
<eliasjpr> maybe is a crystal issue
13:00
<
FromGitter >
<eliasjpr> Also when running something like `Model.where('some condition')` is that all is needed?
13:00
<
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
13:01
<
FromGitter >
<Blacksmoke16> oih
13:01
<
FromGitter >
<Blacksmoke16> is that what you're doing?
13:01
<
FromGitter >
<Blacksmoke16> `Model.where('some condition').all`
13:01
<
FromGitter >
<eliasjpr> no
13:01
<
FromGitter >
<eliasjpr> Im simply doing `Model.all`
13:02
<
FromGitter >
<Blacksmoke16> try making it `Lesson.all.to_a`
13:02
<
FromGitter >
<eliasjpr> same error
13:03
<
FromGitter >
<eliasjpr> I wonder if the PG driver was updated
13:03
<
FromGitter >
<eliasjpr> were you able to reproduce?
13:04
<
FromGitter >
<Blacksmoke16> not yet
13:04
<
FromGitter >
<Blacksmoke16> trying with exact model you had now
13:06
<
FromGitter >
<Blacksmoke16> naw man, works fine for me
13:07
<
FromGitter >
<Blacksmoke16> are you able to produce it with
*only* granite?
13:08
<
FromGitter >
<Blacksmoke16> like a cr file that adds the adapter, defines the model then prints `Model.all`?
13:08
<
FromGitter >
<eliasjpr> im going to try to recreate the app
13:09
<
FromGitter >
<eliasjpr> I must have change something then
13:09
<
FromGitter >
<Blacksmoke16> :shrug:
13:10
<
FromGitter >
<eliasjpr> I did remove a bunch of files since I am building an api
13:10
<
FromGitter >
<Blacksmoke16> coughtryathenacough
13:10
<
FromGitter >
<Blacksmoke16> is what i made it for 😉
13:10
<
FromGitter >
<eliasjpr> lol :)
13:16
<
FromGitter >
<eliasjpr> whats your crystal version
13:16
<
FromGitter >
<eliasjpr> just one to confirm that
13:17
<
FromGitter >
<eliasjpr> got the same
13:17
<
FromGitter >
<eliasjpr> granite version?
13:18
<
FromGitter >
<Blacksmoke16> uh whatever the latest is
13:18
<
FromGitter >
<Blacksmoke16> .15.2 i think
13:21
<
FromGitter >
<Blacksmoke16> i just fixed an issue by doing `rm -rf ~/.cache/crystal/ ~/.cache/shards/`
13:21
<
FromGitter >
<Blacksmoke16> `rm -rf lib/ bin/ shard.lock athena.yml && shards install`
13:22
<
FromGitter >
<Blacksmoke16> :shrug:
13:22
<
FromGitter >
<eliasjpr> lets see
13:24
<
FromGitter >
<eliasjpr> is building
13:24
<
FromGitter >
<eliasjpr> :(
13:24
<
FromGitter >
<Blacksmoke16> same error?
13:24
<
FromGitter >
<eliasjpr> yeah
13:24
<
FromGitter >
<Blacksmoke16> welp
13:24
<
FromGitter >
<eliasjpr> Im going to regenerate the app
13:26
<
FromGitter >
<Blacksmoke16> rgr
13:35
<
FromGitter >
<eliasjpr> is working, I regenerated the ap
13:35
<
FromGitter >
<eliasjpr> I must have done something unnoticed
13:36
<
FromGitter >
<Blacksmoke16> 👍
14:27
<
FromGitter >
<paul.h_gitlab> Is there any editor extension for amber? vscode, idea etc.
15:23
_whitelogger has joined #amber
20:40
<
FromGitter >
<eliasjpr> There is crystal support for VS Code and Vim
20:40
<
FromGitter >
<eliasjpr> Not sure idea
21:39
<
FromGitter >
<bew> They're not specific to amber though