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 [*.net *.split]
_whitelogger has joined #amber
_whitelogger_ has joined #amber
_whitelogger has joined #amber
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
<Guest40822> <monsterkrampe> @Sjoerrdd your validation just checks that the form is not submitted without the `username` parameter and that this parameter is not `nil` ⏎ for this reason a blank username is perfectly valid ⏎ you could check for ⏎ `required(:username) { |f| !f.nil? && !f.empty? }` ⏎ instead, if you want to disallow empty strings [https://gitter.im/amberframework/amber?at=5bbda12b600c5f642381f465]
<Guest40822> <marco-fp> I see that there's a generate api option in the CLI, but I don't see anything about not starting the project with the /public and the asset build
Guest40822 has quit [Remote host closed the connection]
FromGitter has joined #amber
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #amber
<FromGitter> <Sjoerrdd> I'm trying to install Amber
<FromGitter> <Sjoerrdd> (on my other machine)
<FromGitter> <Sjoerrdd> ```code paste, see link``` ⏎ ⏎ ? [https://gitter.im/amberframework/amber?at=5bbdc51c600c5f642382f763]
<FromGitter> <Sjoerrdd> fixed
<FromGitter> <Sjoerrdd> Maybe an idea for Amber
<FromGitter> <Sjoerrdd> PHP (lol) has amazing docs
<FromGitter> <Sjoerrdd> you can go to php.net/<whateveryouneed>
feepbot has quit [Ping timeout: 252 seconds]
feepbot has joined #amber
<FromGitter> <Sjoerrdd> https://gyazo.com/e6bb81410ae9d181cfdd8b288d104637 403, and no idea why :(
<FromGitter> <Sjoerrdd> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5bbddfd43844923661150f61]
<FromGitter> <Sjoerrdd> Somebody online? Need some help:
<FromGitter> <c910335> `403 Forbidden for invalid origins, methods or headers`?
<FromGitter> <Sjoerrdd> Yes
<FromGitter> <c910335> Because `CORS` pipe requires the origin request header.
<FromGitter> <Sjoerrdd> Yeah
<FromGitter> <Sjoerrdd> Thansk
<FromGitter> <Sjoerrdd> I thought it would me allow to do that, not deny me to do that :p
<FromGitter> <Sjoerrdd> https://docs.amberframework.org/amber/cookbook/json-api Why does this not work?
<FromGitter> <Sjoerrdd> What is a valid way to get the clients' IP address?