it should be
has_one :addr
accepts_nested_attributes_for :addr
in controller new action
@hotel.build_addr
in hotel_params
params.require(:hotel).permit(:name, :rate, addr_atributes: [:street, :build])
in view
<%= f.fields_for :addr do |addr|%>
<%end%>