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> <hfjallemark> Awesome!
_whitelogger has joined #amber
_whitelogger has joined #amber
<FromGitter> <alex-lairan> Hi, do you have any deploy config for capistrano or something similar? :) ⏎ ⏎ Here there is a shell script : https://docs.amberframework.org/amber/deployment/manual-deploy but manage multiple scripts for multiples server isn't easy as capistrano
FromGitter has quit [Ping timeout: 260 seconds]
FromGitter has joined #amber
feepbot has quit [Ping timeout: 252 seconds]
feepbot has joined #amber
<FromGitter> <hfjallemark> I'm getting a weird error when using raw sql in combination with a `where` statement: ⏎ ⏎ ```bind message supplies 1 parameters, but prepared statement "" requires 0`````` [https://gitter.im/amberframework/amber?at=5bd7077ac7bf7c36628af249]
<FromGitter> <hfjallemark> Any ideas what I am doing wrong?
<FromGitter> <hfjallemark> It says in the docs that you should be able to combine the `select_statement` macro with an argument to the `all` method. But looking in the source it doesn't seem like it's being used: https://github.com/amberframework/granite/blob/master/src/adapter/pg.cr#L42-L46
<FromGitter> <hfjallemark> Changing line 42 to: ⏎ ``` statement = query.custom ? "#{query.custom} #{clause}" : String.build do |stmt|``` ⏎ seems to fix it
<FromGitter> <hfjallemark> Opened this: https://github.com/amberframework/granite/pull/305
<FromGitter> <Blacksmoke16> I'll take a look
feepbot has quit [Ping timeout: 272 seconds]
feepbot has joined #amber
<FromGitter> <Blacksmoke16> oh its a PR, even better :)
<FromGitter> <bparanj> How do I deploy an Amber app to Linode?
<FromGitter> <Blacksmoke16> dunno, never used it
wontruefree has joined #amber
wontruefree has quit [Ping timeout: 272 seconds]
<FromGitter> <bparanj> How do I add date picker to a field in a form?
<FromGitter> <hfjallemark> @Blacksmoke16 updated https://github.com/amberframework/granite/pull/305 and moved `#select` into the base class as per your suggestion