Add model Problem and controller Problems to allow user to upload a problem(PDF format)

rails generate model Problem
rails generate controller Problems

Model Problem
t.string :filename
t.text :description
t.binary :file
t.boolean :shareable
t.integer :user_id