First Ruby on Rails application.
Application allows users to join organisations, manage shifts and view pay.
bundle install
rails db:migrate
rails s
In browser type: localhost:3000
User shifts need to be destroyed once user leaves organisation
Bug: when deleting shifts user is redirected to wrong path
Delete code that isn't being used
In shift creation users shouldn't be able to implement a shift that has an end data before start date
Password reset shouldn't just be available through command line.
When password is reset, you can see password token by going into command line and typing rails c then User.last.signed_in(purpose: "password_reset")
Main page explains application functionality and any unfinished tasks. User also have the ability to logout on this page. Once logged in users about to access the navbar.
Users and organisations can have many shifts.
When you create a new shift you have to type in a user ID. If user ID doesn't exist shifts can't be made.