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
feepbot has quit [Ping timeout: 255 seconds]
feepbot has joined #amber
<FromGitter> <anamba> can someone cut a new release of amber-router to fix the build issue in in crystal 0.28.0? related to this change: https://github.com/crystal-lang/crystal/pull/6611
<FromGitter> <Blacksmoke16> yea one sec
<FromGitter> <Blacksmoke16> @anamba done
<FromGitter> <Blacksmoke16> `0.3.0`
<FromGitter> <Blacksmoke16> er wait
<FromGitter> <anamba> ah... that's not quite gonna fix it :) at least not until amber is also re-released. but that's ok
<FromGitter> <anamba> ``` github: amberframework/amber-router ⏎ version: ~> 0.2.0``` [https://gitter.im/amberframework/amber?at=5cb935d5b4700e023d9699ee]
<FromGitter> <anamba> the amber test suite is... bigger than i remember. i have a patch that fixes the build on 0.28.0, but wanted to see if all the specs would pass as well. it's taking a while. doesn't help that `shards install` is suuuuper slow for me, and it is being run many, many times
<FromGitter> <Blacksmoke16> :/
<FromGitter> <mixflame> hate those situations
<FromGitter> <anamba> ... not sure whether that worked or not: ```
<FromGitter> <anamba> Installing citrine-i18n (0.3.2) ⏎ Installing i18n (0.2.0) ⏎ Installing garnet_spec (0.2.1) ⏎ Installing selenium (0.4.0) ⏎ .--: line 0: cd: test_app: No such file or directory ... [https://gitter.im/amberframework/amber?at=5cb9369d3d78aa6c0358db00]
<FromGitter> <mixflame> i'd say no
<FromGitter> <mixflame> it cant CD in and it couldnt find your environment file
<FromGitter> <anamba> well anyhow, here's the patch if anyone wants to try it
<FromGitter> <anamba> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5cb936f91cd0b8307d36d4bc]
<FromGitter> <anamba> very simple stuff
<FromGitter> <anamba> bcardiff's PR + two shard updates
<FromGitter> <mixflame> sounds kosher
<FromGitter> <anamba> nothing i have written over the past 6 months (the entirety of my crystal experience) required any changes for 0.28.0
<FromGitter> <mixflame> they make slow, small changes usually and with a high degree of backwards compatibility
<FromGitter> <mixflame> is 0.28.0 out?
<FromGitter> <anamba> it sure is
<FromGitter> <mixflame> does it break Amber?
<FromGitter> <mixflame> im guessing yes
<FromGitter> <mixflame> since you did a PR
<FromGitter> <Blacksmoke16> alright now its done
<FromGitter> <Blacksmoke16> `0.3.0`
<FromGitter> <anamba> i might be making this up, but the compiler feels faster. particularly the codegen steps
<FromGitter> <mixflame> there was a couple performance gains in there
<FromGitter> <mixflame> if you read it
<FromGitter> <anamba> my app compiles in under 35 seconds now
<FromGitter> <mixflame> updating crystal and amber for livepost.
<FromGitter> <anamba> pretty sure the same app was 40-50 yesterday
<FromGitter> <Blacksmoke16> nice, well something broke athena
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5cb939aa375bac7470ca68b7]
<FromGitter> <Blacksmoke16> rip
<FromGitter> <mixflame> i will test my app with crystal 0.28 and amber 0.3.0
<FromGitter> <mixflame> sucks @Blacksmoke16
<FromGitter> <Blacksmoke16> have to look into it tomorrow
<FromGitter> <mixflame> how do I upgrade crystal? brew still at 0.27.2
<FromGitter> <mixflame> do i need brew tap or something lol i frogot
<FromGitter> <Blacksmoke16> https://github.com/Homebrew/homebrew-core/pull/39026 wait till that gets merged
<FromGitter> <anamba> homebrew hasn't updated yet. you can wait, or use the pkg file from github releases
<FromGitter> <mixflame> ok I will hold off
<FromGitter> <hfjallemark> Does anyone know why `belongs_to` associations return an empty object instead of nil if the association doesn’t exist?
<FromGitter> <silmanduin66> if anyone can help me . I can't update data using granite ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ it always ends up in "NOT SAVED" [https://gitter.im/amberframework/amber?at=5cb9a6bc3d78aa6c035ba35a]
<FromGitter> <Blacksmoke16> @silmanduin66 that would mean the record failed to save, check your db logs or do like a `pp user` after your `"NOT SAVED"` to see what the errors are
<FromGitter> <Blacksmoke16> @hfjallemark currently its the intended behavior, although im not sure why either
<FromGitter> <silmanduin66> thnaks ```pp user``` really helped me. I found that ```@errors= ⏎ [#<Granite::Error:0x56481ba29d80 @field="email", @message="already in use">]``` ⏎ ⏎ i still don t understand why it tries to validate the email if i m only changing the color. I ll try to find the solution . [https://gitter.im/amberframework/amber?at=5cb9bb1697dcb371d8daeff9]
<FromGitter> <Blacksmoke16> im assuming its a record that you got from the db like `user = User.find 123`?
<FromGitter> <silmanduin66> ok i found it was this thing here: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5cb9bc3db489bb6ed78ce95b]
<FromGitter> <Blacksmoke16> makes sense
_whitelogger has joined #amber