class Rails::Generators::FormGenerator
Public Instance Methods
create_form_file()
click to toggle source
# File lib/generators/rails/form_generator.rb, line 17 def create_form_file template 'form.rb', File.join('app/forms', "#{singular_name}_form.rb") end