app/controllers/steps/permission/question_controller.rb
def question_form_class
        form_class = [question_name.classify, 'Form'].join
        namespace  = self.class.name.deconstantize

        [namespace, form_class].join('::').constantize
      end
# As long as we follow the convention for naming form objects, we will
# end up, as an example, for a question named `parental_responsibility`
# with the class `Steps::Permission::ParentalResponsibilityForm`
#
As long as we follow the convention for naming form objects, we will
end up, as an example, for a question named `parental_responsibility`
with the class `Steps::Permission::ParentalResponsibilityForm`
As long as we follow the convention for naming form objects we will end up as an example for a question named ` parental_responsibility ` with the class ` Steps :: Permission :: ParentalResponsibilityForm `
def question_form_class
        form_class = [question_name.classify, 'Form'].join
        namespace  = self.class.name.deconstantize
        [namespace, form_class].join('::').constantize
      end
def question_form_class form_class = [ question_name . classify , 'Form' ] . join namespace = self . class . name . deconstantize [ namespace , form_class ] . join ( '::' ) . constantize end
As long as we follow the convention for naming form objects, we will
end up, as an example, for a question named `parental_responsibility`
with the class `Steps::Permission::ParentalResponsibilityForm`
As long as we follow the convention for naming form objects we will end up as an example for a question named ` parental_responsibility ` with the class ` Steps :: Permission :: ParentalResponsibilityForm `