{"record":{"id":"ba73dc53a770eade","repo":"refinery/refinerycms","slug":"please-override-singular-name-params-with-your","errorCode":null,"errorMessage":"Please override #{singular_name}_params with your desired parameter security.","messagePattern":"Please override #(.+?)_params with your desired parameter security\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"core/lib/refinery/crud.rb","lineNumber":215,"sourceCode":"                       :object => @#{singular_name},\n                       :include_object_name => true\n                     }\n            else\n              render :action => action\n            end\n          end\n\n          # Returns a weighted set of results based on the query specified by the user.\n          def search_all_#{plural_name}\n            # First find normal results.\n            find_all_#{plural_name}(#{options[:search_conditions].inspect})\n\n            # Now get weighted results by running the query against the results already found.\n            @#{plural_name} = @#{plural_name}.with_query(params[:search])\n          end\n\n          def #{singular_name}_params\n            raise \"Please override #{singular_name}_params with your desired parameter security.\"\n          end\n\n          # Ensure all methods are protected so that they should only be called\n          # from within the current controller.\n          protected :find_#{singular_name},\n                    :find_#{singular_name}_scope,\n                    :find_all_#{plural_name},\n                    :paginate_all_#{plural_name},\n                    :paginate_per_page,\n                    :render_partial_response?,\n                    :search_all_#{plural_name},\n                    :#{singular_name}_params,\n                    :redirect_url,\n                    :create_or_update_successful,\n                    :create_or_update_unsuccessful,\n                    :merge_position_into_params!\n        RUBY\n","sourceCodeStart":197,"sourceCodeEnd":233,"githubUrl":"https://github.com/refinery/refinerycms/blob/34438aae76d087246039cd24755187844d796737/core/lib/refinery/crud.rb#L197-L233","documentation":"Error \"Please override #{singular_name}_params with your desired parameter security.\" thrown in refinery/refinerycms.","triggerScenarios":"Thrown at core/lib/refinery/crud.rb:215 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"34438aae76d087246039cd24755187844d796737","analyzedAt":"2026-08-23T06:03:41.094Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}