Cleaned up gemfile. Added carrierwave/mini_magick
Changed models. Added join table for shifts_users, associated schedules with company.
Added authorization check to new schedules page
Added company ID field to schedule
Created new employee signup page
Added new company page (needs create stuff in controller)
Added sliders for open/close hours for business creation page. Made it so fixScale() only runs on pages with the schedule div.
Sliders now work in the create-company page. Added a bit of style for legibility.
removed 'avatar' field from users (the row with the image URL is called 'image')
Creating a new company now saves 3 entries: user, company and location.
Added validations for user signups.
Made sure business registration CSS styles only apply to business registrations by wrapping it in a div and applying styles to it.
Added earliest_open and latest_close methods. Unfortunately I cant test if theyre working because I need to fix a bug first.
Schedule will now dynamically change size based on business' open/close hours. Need to fix it for businesses that close on the half-hour (like 6:30)
Schedules now work with businesses that open on the half-hour.