instance method to_param

Ruby on Rails edge

Since edge

Signature

to_param()

Returns the name of the symbol as a frozen String, the same object ‘Symbol#name` returns.

Source
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 22
  def to_param
    name
  end

Defined in activesupport/lib/active_support/core_ext/object/to_query.rb line 22 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Symbol

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