app/controllers/swimming_pool_reviews_controller.rb
# Strong parameters checking for mass-assignment of a SwimmingPoolReview instance.
# Returns the whitelisted, filtered params Hash.
Strong parameters checking for mass-assignment of a SwimmingPoolReview instance.
Returns the whitelisted, filtered params Hash.
Strong parameters checking for mass - assignment of a SwimmingPoolReview instance . Returns the whitelisted filtered params Hash .
def swimming_pool_review_params
    params
      .require( :swimming_pool_review )
      .permit(
        :title, :entry_text,
        :swimming_pool_id,
        :user_id
      )
  end
def swimming_pool_review_params params . require ( :swimming_pool_review ) . permit ( :title , :entry_text , :swimming_pool_id , :user_id ) end
Strong parameters checking for mass-assignment of a SwimmingPoolReview instance.
Strong parameters checking for mass - assignment of a SwimmingPoolReview instance .