def create
    @rating = Rating.new(rating_params)
    authorize @rating
    respond_to do |format|
      if @rating.save