method

attributes_hash

attributes_hash()
private

No documentation available.

# File railties/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb, line 24
        def attributes_hash
          return if accessible_attributes.empty?

          accessible_attributes.map do |a|
            name = a.name
            key_value name, "@#{singular_table_name}.#{name}"
          end.sort.join(', ')
        end