Class: Rails::Generators::ScaffoldControllerGenerator
- Inherits:
-
Object
- Object
- Rails::Generators::ScaffoldControllerGenerator
- Defined in:
- lib/generators/rails/scaffold_controller_generator.rb
Instance Method Summary collapse
Instance Method Details
#permitted_params ⇒ Object
13 14 15 |
# File 'lib/generators/rails/scaffold_controller_generator.rb', line 13 def permitted_params attributes_names.map { |name| ":#{name}" }.join(', ') end |