Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recurring_select form helper will not render after a while #68

Open
DiegoSalazar opened this issue Oct 15, 2014 · 4 comments
Open

recurring_select form helper will not render after a while #68

DiegoSalazar opened this issue Oct 15, 2014 · 4 comments

Comments

@DiegoSalazar
Copy link

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
Copy link
Contributor

nathany commented Oct 15, 2014

Weird. What version of Rails are you using?

@DiegoSalazar
Copy link
Author

I'm currently stuck on Rails 3.2.19

@nathany
Copy link
Contributor

nathany commented Oct 17, 2014

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
Copy link

brendon commented Jun 3, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants