changed route
changed db string -> string
simplified controller
fixed show view
added gem to Gemfile
changed Gemfile and db