Rails version 5.1.4

Hello,

I can't save the field value **immo\_type** of my simple\_form\_for to my controller **Pages**

```
#app\controllers\pages_controller.rb
class PagesController < ApplicationController
  skip_before_action :configure_permitted_parameters, only: [:home]

  def home
    @purchase = Purchase.new
    @immo_type = params[:immo_type]

  end
end

```

The view :

```
#app\views\pages\home.html.erb    
<%= simple_form_for @purchase, url: purchases_path(@purchase), :method => :post do |f| %>
  <%= f.input :address %>
  <%= f.input :immo_type %>
  <%= f.button :submit, "Search" %>

```

The model :

```
#app\models\purchase.rb
class Purchase < ApplicationRecord
    belongs_to :user
    has_many :users, :through => :searches
end

```

Sorry i'm new on ruby on rails !!!

I try to put `<%= debug params %>`or make "raise" in my Pages controller. I've this message

> 
> --- !ruby/object:ActionController::Parameters parameters: !ruby/hash:ActiveSupport::HashWithIndifferentAccess controller: pages
>  action: home permitted: false
> 
> 
> 

Could you help me please ?