a0918ce011a7e25e57eba1266f5263a2040c6016
In the attendance tracker view, the total times for preparation, in lecture, and review have been humanized for better readability. Also, total time spent on lectures for each week has been included for a quicker overview. A helper method 'humanise_duration' has been added in application helper to convert time into a more readable format. Changes have been done in 'lecture' model for calculation of total time.
Lecture Attendance Management System
Alterations
Continuum Mechanics
continuum_mechanics = Course.find(nil)
continuum_mechanics.import_from_calendar!
continuum_mechanics.lectures.filter { |lecture| lecture.start_time.monday? }.map {|lecture| lecture.update!(kind: Lecture.kinds[:problems_class]) }
continuum_mechanics.lectures.find_by(start_time: '2023-10-02 08:15:00.000000').destroy!
continuum_mechanics.renumber_lectures!
Languages
Ruby
75.4%
HTML
17.8%
Dockerfile
2%
JavaScript
1.8%
CSS
1.7%
Other
1.3%