recurring_select icon indicating copy to clipboard operation
recurring_select copied to clipboard

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

Open gitmandeep opened this issue 2 years ago • 1 comments

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 avatar Jun 22 '22 12:06 gitmandeep

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

gitmandeep avatar Jun 22 '22 12:06 gitmandeep