Hi John. I like this library, it was just what I wanted. I am a newbie, i did not understand how to put dynamically the numbers of the days in the method IceCube::Rule.weekly
i have try this under Ruby on Rails: ###################### all_days = [] all_days << 1 if params[:recurrent][:mon] all_days << 2 if params[:recurrent][:tue] all_days << 3 if params[:recurrent][:wed] all_days << 4 if params[:recurrent][:thu] all_days << 5 if params[:recurrent][:fri] all_days << 6 if params[:recurrent][:sat] all_days << 7 if params[:recurrent][:sun] schedule.add_recurrence_rule IceCube::Rule.weekly.day.all_days ##################### but i have an error thank you. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.