/**
  * Remove the specified beer from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $ratings = Rating::where('beer_id', '=', $id)->get();
     foreach ($ratings as $rating) {
         Rating::destroy($rating->rating_id);
     }
     Beer::destroy($id);
     return Response::json(['all good' => $id]);
 }