Class: ApplicationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/application_record.rb

Constant Summary collapse

SAFE_NAME_LENGTH =
{maximum: 225}.freeze

Class Method Summary collapse

Class Method Details

.find_param(param) ⇒ Object

Default find_param implementation just the same as standard find()



8
9
10
# File 'app/models/application_record.rb', line 8

def self.find_param(param)
  find(param)
end