thanks a lot for your help.
In my rails project I have:
A location Model that has many :ads
All you need to use _attributes:
params.require(:location).permit(:country, :location, {:ads_attributes => [:remote, :days]})