recurring_select icon indicating copy to clipboard operation
recurring_select copied to clipboard

recurring_select form helper will not render after a while

Open DiegoSalazar opened this issue 9 years ago • 4 comments

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.

DiegoSalazar avatar Oct 15 '14 18:10 DiegoSalazar

Weird. What version of Rails are you using?

nathany avatar Oct 15 '14 23:10 nathany

I'm currently stuck on Rails 3.2.19

DiegoSalazar avatar Oct 17 '14 15:10 DiegoSalazar

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.

nathany avatar Oct 17 '14 17:10 nathany

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 :)

brendon avatar Jun 03 '15 01:06 brendon