param_key(record_or_class)
Class Public methods
Returns string to use for params names. It differs for namespaced models regarding whether it's inside isolated engine.
# For isolated engine: ActiveModel::Naming.param_key(Blog::Post) # => "post" # For shared engine: ActiveModel::Naming.param_key(Blog::Post) # => "blog_post"
Please login to continue.