class ActionController::Base
Public Class Methods
persists_params(**options) { |persistent_params_config| ... }
click to toggle source
# File lib/persistent_params.rb, line 75 def self.persists_params(**options) include PersistentParams persistent_params_config(options) yield persistent_params_config if block_given? end
persists_scopes(**options, &block)
click to toggle source
# File lib/persistent_params.rb, line 81 def self.persists_scopes(**options, &block) persists_params(params_method: :current_scopes, **options, &block) end