gregschmit / recurring_select

A gem for adding selectors for setting recurring events.
MIT License
335 stars 238 forks source link

recurring_select form helper will not render after a while #68

Open DiegoSalazar opened 10 years ago

DiegoSalazar commented 10 years ago

This is a weird issue I'm having and is hard to reproduce. The recurring_select form helper will work fine at first, and I'm passing in an array of IceCube objects as predefined rules and it renders fine. I'll continue using the form but after a while it will just cease to render the select tag. I have to restart the server to get it to come back. I've read through your source code and can't see anything where it checks for something before rendering, or anything that would cause it to not render. Has anyone seen this issue? I'm still trying to figure out how to reproduce it, or to pry the value when this happens. I'll post back if I find anything else.

nathany commented 10 years ago

Weird. What version of Rails are you using?

DiegoSalazar commented 10 years ago

I'm currently stuck on Rails 3.2.19

nathany commented 10 years ago

Maybe give recurring_select 1.0.2 a try. We did some messy hacking to get it to support Rails 3 & 4 simultaneously, which may be the source of issues. 1.0.2 is the version before we did that.

brendon commented 9 years ago

In my experience of having a similar thing happen (not involving recurring_select) it turned out to be to do with mutating a 'constant' in my app. Just a thought :)