instance method field_id

Ruby on Rails 5.1.7

Since v5.1.7 Last seen in v5.1.7 Private — implementation detail, not part of the public API

Signature

field_id(attribute_name)

No documentation comment.

Parameters

attribute_name req
Source
# File railties/lib/rails/generators/named_base.rb, line 152
        def field_id(attribute_name)
          [singular_table_name, attribute_name].join("_")
        end

Defined in railties/lib/rails/generators/named_base.rb line 152 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::NamedBase

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close