00:03
<
FromGitter >
<renich_gitlab> It looks like this right after generation:
00:04
<
FromGitter >
<renich_gitlab> And like this after I change it to `.name`:
00:04
<
FromGitter >
<eliasjpr> @renich_gitlab did you figure out what was wrong?
00:06
<
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.
00:10
<
FromGitter >
<renich_gitlab> I'm thinking I have to do something in the model so it transforms that string into a Time object, right?
00:10
<
FromGitter >
<renich_gitlab> No idea how, though...
00:12
<
FromGitter >
<renich_gitlab> Also, it would be so cool if there were some html5 input helpers ;D
03:39
<
FromGitter >
<Blacksmoke16> you're providing a string as the date when it should be a `Time` instance
03:40
<
FromGitter >
<Blacksmoke16> so you'll need to parse the date string like you're doing in the 2nd example
03:40
<
FromGitter >
<Blacksmoke16> `Time.parse(date, "%F")`
03:41
<
FromGitter >
<renich_gitlab> @Blacksmoke16 at the controller, right?
03:41
<
FromGitter >
<Blacksmoke16> probably
03:41
<
FromGitter >
<Blacksmoke16> im not super familiar with the specifics of amber
03:41
<
FromGitter >
<renich_gitlab> The thing is I tried using a "date" input in the form, and it's not working.
03:42
<
FromGitter >
<renich_gitlab> @Blacksmoke16 no problem. That's helpful! :D
03:42
<
FromGitter >
<renich_gitlab> The seed now is working! :D
03:42
<
FromGitter >
<renich_gitlab> So, I will try to do it in the controller.