SupeRails
Vložit
- čas přidán 8. 05. 2024
- I love building calendars!
ICS is the default format for a calendar file.
Today we'll learn to read an ICS file and import it into our app.
Recently 37signals released "Import ICS events" as a new feature in Hey Calendar.
You can do it too!
Episode source code: github.com/corsego/161-import...
Based on this blogpost: blog.corsego.com/import-ics-t...
0:00 read the ICS format
2:00 iCalendar gem, parse ICS in rails console
4:24 Form to upload ICS file and save in database
10:00 Upload multiple ICS files
12:15 Write tests
Finally a rails channel🎉
Good!
Thanks, Ярослав!
Thanks for your video.