Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 22 22:22
  • Nov 22 11:24
  • Nov 22 04:02
    drujensen synchronize #1241
  • Nov 22 04:02

    drujensen on dj-upgrade-micrate

    upgrade node (compare)

  • Nov 22 03:48
    drujensen synchronize #1241
  • Nov 22 03:48

    drujensen on dj-upgrade-micrate

    upgrade docker version (compare)

  • Nov 21 17:28
    drujensen opened #1241
  • Nov 21 17:27

    drujensen on dj-upgrade-micrate

    Upgrade to latest micrate This… (compare)

  • Nov 17 15:42

    drujensen on master

    Unify AbstractStore#update API … (compare)

  • Nov 17 15:42
    drujensen closed #1240
  • Nov 17 15:42
    drujensen closed #1239
  • Nov 17 14:46
    bcardiff opened #1240
  • Nov 16 00:54
  • Nov 14 22:48
    drujensen commented #1239
  • Nov 13 20:02
    bcardiff opened #1239
  • Nov 13 15:48
    bcardiff opened #434
  • Nov 12 13:52
    Blacksmoke16 labeled #433
  • Nov 12 13:52
    Blacksmoke16 labeled #433
  • Nov 12 13:52
    Blacksmoke16 commented #433
  • Nov 12 05:45
    wonderix commented #432
George Dietrich
@Blacksmoke16
what crystal version are you on?
Andrew Smith
@silentworks
0.30.1
George Dietrich
@Blacksmoke16
yea you'll need to update
0.35.1 is latest
and required
Andrew Smith
@silentworks
ok trying again now with that version
If that works then it might be easier to rewrite all my code in this new project than trying to upgrade the 0.9.0 one
George Dietrich
@Blacksmoke16
whats the project?
Andrew Smith
@silentworks
its a reddit clone
just a pet project
George Dietrich
@Blacksmoke16
gotcha
Andrew Smith
@silentworks
ok the build worked on the new amber project now that I upgraded to 0.35.1 of crystal
George Dietrich
@Blacksmoke16
:tada:
Elias Perez
@eliasjpr
Nice!
Andrew Smith
@silentworks
if I modify a model, would that create a new migration if amber watch is running?
George Dietrich
@Blacksmoke16
i doubt it, prob easy enough to try it tho
Andrew Smith
@silentworks
I'm almost certain in 0.9.0 there was something like rails g migration where you could also pass the filed names amber g migration add_new_fields_to_model name:string email:string
was this ever the case or was I dreaming
its so hard to remember things from 2 years ago
George Dietrich
@Blacksmoke16
i think it is, granted i never used amber so only going off of what i heard :P
Andrew Smith
@silentworks
oh right, I thought you were a amber core dev
George Dietrich
@Blacksmoke16
more so granite
Stephen Jackson
@sjackson
@andrewc910 Excellent!
Andrew Smith
@silentworks
The code examples in the documentation is hard to read due to the colours chosen
Screenshot 2020-09-08 at 11.55.17.png
George Dietrich
@Blacksmoke16
mine has white text, try clearing cache/refreshing
or maybe you have some extension thats altering it
Andrew Smith
@silentworks
That's weird, because in Firefox its that way but in Chrome I see white text
Andrew Smith
@silentworks
I'm now convinced that Firefox is mad, it's stating the correct colour in the developer tools while displaying the wrong colour on screen.
Andrew Smith
@silentworks
So turning off the font-family on the code section fixes the issue, it seems it doesn't like something about Source Code Pro font
Damian Hamill
@damianham
@eliasjpr @drujensen I just opened a PR #1231 that fixes the json response Content-Type header. I would appreciate a quick review (it's a 1 line change) and merge so I can deploy to production without editing the amber src each time. Thanks
Elias Perez
@eliasjpr
@damianham I have reviewed and approved
Damian Hamill
@damianham
:thumbsup: thanks @eliasjpr
Massimiliano Bertinetti
@maxbertinetti
@damianham you are an Amber Recipes expert: please I just created a new one but give me this error:
Missing shard.yml. Please run 'shards init'
Environment file not found for ./config/environments/production
The files are present, but I think the problem is the extension. Mine is .ecr, in your recipes is .lqd
Can be the format the problem?
I started with the template of the amber framework directly and added the feature that I want...
Hai Nguyen
@greentornado
Hi i got 403 error whenever enable plug Amber::Pipe::CORS.new on api pipeline
how do i fix that please
Hai Nguyen
@greentornado
okay, after I added Origin Headers to the request, it works
George Dietrich
@Blacksmoke16
Hai Nguyen
@greentornado
When will the new version got released plz ?
George Dietrich
@Blacksmoke16
:shrug:
would be a question for someone else
Damian Hamill
@damianham
@maxbertinetti yes the format is the problem. The amber recipes use the liquid template language from the TechMagister/liquid.cr shard. You will find it easier to use liquid to create recipes because you don't have to escape ECR output.
Massimiliano Bertinetti
@maxbertinetti
Thanks @damianham for the confirmation
Elias Perez
@eliasjpr
@damianham after reading https://www.w3.org/International/questions/qa-choosing-encodings and this https://www.w3.org/International/questions/qa-choosing-encodings#http I think it is best to have all responses to default to UTF-8. I wonder if there would be any implications for currently running Amber Apps. Thoughts
Richard de Wit
@richarddewit
How do I print something to STDOUT? puts p and pp are ignored or not showing anything
And using Log.info { something } is too much typing :P
George Dietrich
@Blacksmoke16
prob should use the log module
Richard de Wit
@richarddewit
Log.info { something } isn't outputting anything either btw.. I'm doing something wrong