3) Add the following to the end of config/initializers/simple_form.rb (before the last end):

require 'simple_form/contained_input_component.rb'

You can improve this Wiki

This page was created by the OSS community and might be outdated or incomplete.
Feel free to improve or update this content according to the latest versions of
SimpleForm and Rails to help the next developer who visits this wiki after you.

Keep in mind to maintain the guides as simple as possible and to avoid additional
dependencies that might be specific to your application or workflow (such as Haml,
RSpec, Guard and similars).