Cody Cutrer
Cody Cutrer
```ruby require "psych" require "singleton" class A include Singleton end YAML.unsafe_load(A.instance.to_yaml ``` result: ``` /Users/cody/.gem/ruby/3.1.3/gems/psych-5.1.1/lib/psych/visitors/to_ruby.rb:408:in `revive': private method `allocate' called for A:Class (NoMethodError) s = register(node, klass.allocate) ^^^^^^^^^ from /Users/cody/.gem/ruby/3.1.3/gems/psych-5.1.1/lib/psych/visitors/to_ruby.rb:215:in...
This is a rather large PR, but is built of a few commits with essentially two distinct goals. I have not tested them individually, and there are lots of interactions...
Similar to how UP/DOWN are processed for rollershutters. Fixes #7991
Move the flush to the beginning (things may stay in the buffer longer, but that's okay, anything that is worried about that should already be doing an explicit flush)
### Motivation / Background I've been doing a lot with migrations and Postgres, and noticed that when do a bulk table change, all the constraint-related management was running as separate...
I noticed this cop was not aware of columns added inside a `change_table` block, so added support for that. ----------------- Before submitting the PR make sure the following are checked:...
Clarify that the cop is only for NOT NULL without a default, and only for existing tables. Also point users in the direction of how to add a NOT NULL...
## Expected behavior When `flash` is set in a case statement, followed by a `redirect_to`, the cop should not register an offense. ## Actual behavior ``` Offenses: app/controllers/context_controller.rb:262:11: C: Rails/ActionControllerFlashBeforeRender:...
## Description: Documentation for the opt3001 component **Pull request in [esphome](https://github.com/esphome/esphome) with YAML changes (if applicable):** esphome/esphome#6625 ## Checklist: - [x] I am merging into `next` because this is new...
### Motivation / Background I was writing some code that parses our migrations and extracts information about newly added columns. It was missing some columns because they were of a...