migration to create lesson materials table
empty lesson_material model
lesson_material validations - presence of instructor_id, name, and document; uniqueness of name
relationship between user and lesson_material
if a user is instructor, can manage lesson materials where instructor_id is user.id
migration to rename document to attachment on lesson_materials table
lesson_material change presence validation of document to attachment
attachment_uploader
mount_uploader on attachment and process in background
add attachment_processing bool flag to lesson_materials table
forgot to add pdf to extension whitelist in attachment upload
ability.rb bugsquash supposed to be singular
rails_admin base config for lesson_material
migration to create student_materials table
empty student_material.rb model
student_material validates presence of user_id and lesson_material_id
instructor can manage Student Material where the lesson_material's instructor id is the user id
relationship between user -- as a student, lesson_materials, and student_material
add comment in ability.rb to clarify what StudentMaterial is
rails_admin base config for student_material