|
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m44s
The update includes modifications in the lectures' order by start_time in course model. The lecture duration is now correctly calculated by minutes instead of hours. Additionally, in the lecture view, an online indicator is added for each lecture and popover is implemented to show the lecture start and end times.. |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| bin | ||
| config | ||
| db | ||
| lib | ||
| log | ||
| public | ||
| sig | ||
| storage | ||
| test | ||
| tmp | ||
| vendor | ||
| .dockerignore | ||
| .gitattributes | ||
| .gitignore | ||
| .ruby-version | ||
| config.ru | ||
| Dockerfile | ||
| Dockerfile-static-files | ||
| Gemfile | ||
| Gemfile.lock | ||
| Procfile | ||
| Rakefile | ||
| README.md | ||
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!