930 Experience
9 Lessons Completed
0 Questions Solved


Posted in How do I import recurring_select in Rails 7?

Not helpful in your situation, but in case anyone else finds this, I'm using esbuild and require("./recurring_select/"); worked in my application.js

You will need to include coffeescript transpiler in your build process. Chris produced a helpful video about this if you are using esbuild:

Posted in Adding Exceptions To Recurring Events Discussion

Great episode. I'm implementing something similar. I'm using unix timestamp for the exceptions, as this is always in UTC, so no issues with timezones. (I'm also using this timestamp to associate notes to individual events). I'm running into an issue where if the initial event date/time is edited, the keys for the exceptions (and notes) are no longer valid. Any suggestions how to handle this ?

My best idea so far is as follows:

  • don't allow editing of any event in the past
  • when an event is edited, warn that any exceptions / agenda attached to the event will be lost, and delete them.
  • set a end_date for the initial event and recreate another event starting at the same time as the next event in the series

It seems like there are no good solutions to this problem :D

Posted in Recurring events with the ice_cube gem Discussion

As was mentioned in the video, github: "RundownApp/recurring_select" was a fork for rails5. If you're having issues, try which has been updated for rails 6

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.