app/controllers/rb_calendars_controller.rb
Method generate_ical
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_ical
cal = Icalendar::Calendar.new
# current + future sprints
RbSprint.find(:all, :conditions => ["not sprint_start_date is null and not effective_date is null and project_id = ? and effective_date >= ?", @project.id, Date.today]).each {|sprint|