Seth Nickell

Results 219 comments of Seth Nickell

``` /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/newrelic_rpm-6.14.0/lib/new_relic/control/class_methods.rb:52:in `const_get': wrong constant name [[:info, ["NEWRELIC_APP_ID does not have a corresponding configuration setting (appId does not exist)."], nil], [:info, ["Run `rake newrelic:config:docs` or visit https://newrelic.com/docs/ruby/ruby-agent-configuration to see a...

``` /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.2.0/lib/active_support/inflector/methods.rb:290:in `const_get': uninitialized constant MailDeliveryJob (NameError) from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.2.0/lib/active_support/inflector/methods.rb:290:in `constantize' from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.2.0/lib/active_support/core_ext/string/inflections.rb:74:in `constantize' from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/actionmailer-7.2.0/lib/action_mailer/railtie.rb:48:in `block (2 levels) in ' from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.2.0/lib/active_support/lazy_load_hooks.rb:97:in `class_eval' from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.2.0/lib/active_support/lazy_load_hooks.rb:97:in `block in execute_hook' from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/activesupport-7.2.0/lib/active_support/lazy_load_hooks.rb:87:in...

``` /Users/seth/src/code-dot-org/dashboard/config/initializers/backtrace_silencers.rb:16:in `': undefined method `behavior=' for class ActiveSupport::Deprecation (NoMethodError) ``` Some investigation suggests that there's no "default ActiveSupport::Deprecation" instance anymore, and behavior= is only defined on instances not on...

``` /Users/seth/src/code-dot-org/dashboard/lib/devise/custom_failure.rb:4:in `': uninitialized constant Devise::CustomFailure::LocaleHelper (NameError) ``` Fix is similar to https://github.com/code-dot-org/code-dot-org/pull/60437#issuecomment-2290802421

``` /Users/seth/.rbenv/versions/3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `require': cannot load such file -- email_delivery_interceptor (LoadError) from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require' from /Users/seth/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/zeitwerk-2.6.17/lib/zeitwerk/kernel.rb:34:in `require' from /Users/seth/src/code-dot-org/dashboard/config/initializers/email_delivery_watchers.rb:1:in `' ``` In this case, we could potentially...

``` dashboard/config/initializers/script_preload.rb:7:in `': uninitialized constant Unit (NameError) ``` I opted to put this in a `Rails.application.config.after_initialize do end` block, which should execute it once after initalizization, but before any forking....

``` `require': cannot load such file -- school_info_interstitial_helper (LoadError) ``` In this case, user.rb is requiring a file that should be auto-loaded by home/index.html.haml. The fix is simple: remove the...

`bin/dashboard-console` starts!

http://localhost.code.org:3000/ loads:

# mysql_check_index_used.rb This logs warnings if a query doesn't use the mysql index. However, to do so, it has to work in rails private internals, so its prone to breaking....