instance method
to_param
Ruby on Rails 5.2.8.1
Since v2.2.3Signature
to_param()
Returns self.
Source
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 20
def to_param
self
end
Defined in activesupport/lib/active_support/core_ext/object/to_query.rb line 20
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in NilClass