ActiveRecord::UnknownAttributeReference - Query method called with non-attribute argument(s): "my_schema.my_table.my_primary_key desc asc": disallow_raw_sql! [sanitization.rb:140] (ActiveRecord::Sanitization::ClassMethods) disallow_raw_sql! [sanitization.rb:139] (ActiveRecord::Sanitization::ClassMethods) preprocess_order_args [query_methods.rb:1394] (ActiveRecord::QueryMethods) reorder! [query_methods.rb:383] (ActiveRecord::QueryMethods) reorder [query_methods.rb:378] (ActiveRecord::QueryMethods) sort_scope [active_record.rb:120] (RailsAdmin::Adapters::ActiveRecord) all [active_record.rb:40] (RailsAdmin::Adapters::ActiveRecord) get_collection [main_controller.rb:135] (RailsAdmin::MainController) list_entries [main_controller.rb:21] (RailsAdmin::MainController) block (2 levels) in [index.rb:35] action_missing [main_controller.rb:38] (RailsAdmin::MainController) _handle_action_missing [base.rb:242] (AbstractController::Base) send_action [basic_implicit_render.rb:6] (ActionController::BasicImplicitRender) process_action [base.rb:228] (AbstractController::Base) process_action [rendering.rb:30] (ActionController::Rendering) process_action [callbacks.rb:42] (AbstractController::Callbacks) run_callbacks [callbacks.rb:117] (ActiveSupport::Callbacks) with_renderer [rendering.rb:20] (ActionText::Rendering) block (4 levels) in [engine.rb:59] run_callbacks [callbacks.rb:126] (ActiveSupport::Callbacks) run_callbacks [callbacks.rb:137] (ActiveSupport::Callbacks) process_action [callbacks.rb:41] (AbstractController::Callbacks) process_action [rescue.rb:22] (ActionController::Rescue) process_action [instrumentation.rb:34] (ActionController::Instrumentation) instrument [notifications.rb:203] (singleton class of ActiveSupport::Notifications) instrument [instrumenter.rb:24] (ActiveSupport::Notifications::Instrumenter) instrument [notifications.rb:203] (singleton class of ActiveSupport::Notifications) process_action [instrumentation.rb:33] (ActionController::Instrumentation) process_action [params_wrapper.rb:249] (ActionController::ParamsWrapper) process_action [controller_runtime.rb:27] (ActiveRecord::Railties::ControllerRuntime) process [base.rb:165] (AbstractController::Base) process [rendering.rb:39] (ActionView::Rendering) dispatch [metal.rb:190] (ActionController::Metal) dispatch [metal.rb:254] (ActionController::Metal) dispatch [route_set.rb:50] (ActionDispatch::Routing::RouteSet::Dispatcher) serve [route_set.rb:33] (ActionDispatch::Routing::RouteSet::Dispatcher) serve [router.rb:50] (ActionDispatch::Journey::Router) serve [router.rb:32] (ActionDispatch::Journey::Router) call [route_set.rb:842] (ActionDispatch::Routing::RouteSet) call [engine.rb:539] (Rails::Engine) method_missing [railtie.rb:207] (singleton class of Rails::Railtie) block in [mapper.rb:20] serve [mapper.rb:49] (ActionDispatch::Routing::Mapper::Constraints) serve [router.rb:50] (ActionDispatch::Journey::Router) serve [router.rb:32] (ActionDispatch::Journey::Router) call [route_set.rb:842] (ActionDispatch::Routing::RouteSet) call [manager.rb:36] (Warden::Manager) call [manager.rb:34] (Warden::Manager) call [tempfile_reaper.rb:15] (Rack::TempfileReaper) call [etag.rb:27] (Rack::ETag) call [conditional_get.rb:27] (Rack::ConditionalGet) call [head.rb:12] (Rack::Head) call [permissions_policy.rb:22] (ActionDispatch::PermissionsPolicy::Middleware) call [content_security_policy.rb:19] (ActionDispatch::ContentSecurityPolicy::Middleware) context [id.rb:266] (Rack::Session::Abstract::Persisted) call [id.rb:260] (Rack::Session::Abstract::Persisted) call [cookies.rb:697] (ActionDispatch::Cookies) call [migration.rb:601] (ActiveRecord::Migration::CheckPending) call [callbacks.rb:27] (ActionDispatch::Callbacks) run_callbacks [callbacks.rb:98] (ActiveSupport::Callbacks) call [callbacks.rb:26] (ActionDispatch::Callbacks) call [executor.rb:14] (ActionDispatch::Executor) call [actionable_exceptions.rb:18] (ActionDispatch::ActionableExceptions) protected_app_call [middleware.rb:87] (BetterErrors::Middleware) better_errors_call [middleware.rb:82] (BetterErrors::Middleware) call [middleware.rb:60] (BetterErrors::Middleware) call [debug_exceptions.rb:29] (ActionDispatch::DebugExceptions) call [show_exceptions.rb:33] (ActionDispatch::ShowExceptions) call_app [logger.rb:37] (Rails::Rack::Logger) call [logger.rb:26] (Rails::Rack::Logger) tagged [tagged_logging.rb:99] (ActiveSupport::TaggedLogging) tagged [tagged_logging.rb:37] (ActiveSupport::TaggedLogging::Formatter) tagged [tagged_logging.rb:99] (ActiveSupport::TaggedLogging) call [logger.rb:26] (Rails::Rack::Logger) call [quiet_assets.rb:13] (Sprockets::Rails::QuietAssets) call [remote_ip.rb:81] (ActionDispatch::RemoteIp) call [middleware.rb:19] (RequestStore::Middleware) call [request_id.rb:26] (ActionDispatch::RequestId) call [method_override.rb:24] (Rack::MethodOverride) call [runtime.rb:22] (Rack::Runtime) call [local_cache_middleware.rb:29] (ActiveSupport::Cache::Strategy::LocalCache::Middleware) call [executor.rb:14] (ActionDispatch::Executor) call [static.rb:24] (ActionDispatch::Static) call [sendfile.rb:110] (Rack::Sendfile) call [host_authorization.rb:148] (ActionDispatch::HostAuthorization) call [engine.rb:539] (Rails::Engine) call [configuration.rb:227] (Puma::Configuration::ConfigMiddleware) handle_request [server.rb:706] (Puma::Server) process_client [server.rb:476] (Puma::Server) run [server.rb:334] (Puma::Server) spawn_thread [thread_pool.rb:135] (Puma::ThreadPool)