Customizing Form Builders

I’m reading http://guides.rubyonrails.org/form_helpers.html#customizing-form-builders and don’t know where to put class LabellingFormBuilder.

Can someone help me with this?