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> <renich_gitlab> It looks like this right after generation:
<FromGitter> <renich_gitlab> And like this after I change it to `.name`:
<FromGitter> <eliasjpr> @renich_gitlab did you figure out what was wrong?
<FromGitter> <renich_gitlab> Well, I have no clue how to make it like the second picture after generation. ⏎ ⏎ I was just gonna paste a screenshot with the Date error.
<FromGitter> <renich_gitlab> I'm thinking I have to do something in the model so it transforms that string into a Time object, right?
<FromGitter> <renich_gitlab> No idea how, though...
<FromGitter> <renich_gitlab> Also, it would be so cool if there were some html5 input helpers ;D
<FromGitter> <renich_gitlab> OK, I tried this: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ I don't get it. Why is the date error come up twice? Odd... [https://gitter.im/amberframework/amber?at=601624f15500a97f82d71e85]
<FromGitter> <renich_gitlab> ... and this works on exec: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ OK, now, to figure out how to do that in... the controller? [https://gitter.im/amberframework/amber?at=601626160eed905f1880a1c0]
<FromGitter> <Blacksmoke16> you're providing a string as the date when it should be a `Time` instance
<FromGitter> <Blacksmoke16> so you'll need to parse the date string like you're doing in the 2nd example
<FromGitter> <Blacksmoke16> `Time.parse(date, "%F")`
<FromGitter> <renich_gitlab> @Blacksmoke16 at the controller, right?
<FromGitter> <Blacksmoke16> probably
<FromGitter> <Blacksmoke16> im not super familiar with the specifics of amber
<FromGitter> <renich_gitlab> The thing is I tried using a "date" input in the form, and it's not working.
<FromGitter> <renich_gitlab> @Blacksmoke16 no problem. That's helpful! :D
<FromGitter> <renich_gitlab> The seed now is working! :D
<FromGitter> <renich_gitlab> So, I will try to do it in the controller.