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

ArgumentError: Expecting Integer or nil value for count, got "60" #156

Open
gitmandeep opened this issue Jun 22, 2022 · 1 comment
Open

Comments

@gitmandeep
Copy link

When we try to update a monthly/weekly schedule and trying to select Day of month or Day of week using recurring_select dialog it is passing count parameter as a string to IceCube::Rule.from_hash method which is excepting count as a integer.

@gitmandeep
Copy link
Author

Add this line to filter_params method
params[:count] = params[:count].to_i if params[:count]

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

No branches or pull requests

1 participant