github.com/palkan/isola... – detects non-atomic interactions within DB transactions
github.com/Darhazer/act... – custom RSpec matchers for record creation
github.com/widefix/actu... – automatically keeps DB schema in sync across branches
github.com/palkan/isola... – detects non-atomic interactions within DB transactions
github.com/Darhazer/act... – custom RSpec matchers for record creation
github.com/widefix/actu... – automatically keeps DB schema in sync across branches
github.com/heartcombo/h... – map incoming controller parameters to named scopes
Better AR-like objects:
github.com/kaspth/activ... – extract collaborator objects from records
github.com/DmitryTsepel... – wrap JSON-backed DB columns with ActiveModel-like classes
github.com/heartcombo/h... – map incoming controller parameters to named scopes
Better AR-like objects:
github.com/kaspth/activ... – extract collaborator objects from records
github.com/DmitryTsepel... – wrap JSON-backed DB columns with ActiveModel-like classes
github.com/keygen-sh/un... – create associations that combine multiple associations
github.com/bensheldon/a... – association methods for "top N" queries
github.com/MaxLap/activ... – apply conditions based on the associations of your records
github.com/keygen-sh/un... – create associations that combine multiple associations
github.com/bensheldon/a... – association methods for "top N" queries
github.com/MaxLap/activ... – apply conditions based on the associations of your records
github.com/jenseng/hair... – if you'd rather define triggers inside models
github.com/nepalez/pg_t... – the kitchen sink for migrations
github.com/fatkodima/on... – detects unsafe migrations; like strong_migrations but more automated, and Postgres-specific
github.com/jenseng/hair... – if you'd rather define triggers inside models
github.com/nepalez/pg_t... – the kitchen sink for migrations
github.com/fatkodima/on... – detects unsafe migrations; like strong_migrations but more automated, and Postgres-specific
github.com/ilyakatz/dat... – data migrations
github.com/scenic-views... – DB view migrations
github.com/teoljungberg... – DB trigger and function migrations
github.com/ilyakatz/dat... – data migrations
github.com/scenic-views... – DB view migrations
github.com/teoljungberg... – DB trigger and function migrations
github.com/djezzzl/data... – detects mismatches between the schema and models
github.com/toptal/datab... – improve performance by using DB validations within Active Record
github.com/jhollinger/o... – high-performance query API for use alongside Active Record
github.com/djezzzl/data... – detects mismatches between the schema and models
github.com/toptal/datab... – improve performance by using DB validations within Active Record
github.com/jhollinger/o... – high-performance query API for use alongside Active Record
github.com/plentz/lol_dba – scans models to find columns that should be indexed
github.com/gregnavis/ac... – detects schema issues to keep your DB performant and correct
github.com/plentz/lol_dba – scans models to find columns that should be indexed
github.com/gregnavis/ac... – detects schema issues to keep your DB performant and correct
github.com/ankane/dexter – automatic indexer for Postgres
github.com/pawurb/ruby-... – Postgres performance insights
github.com/ankane/dexter – automatic indexer for Postgres
github.com/pawurb/ruby-... – Postgres performance insights
IRB.conf[:COMMAND_ALIASES][:c] = :continue
IRB.conf[:COMMAND_ALIASES][:c] = :continue
I added this to a monitoring mixin, so that the name of the method where something is logged doesn't have to be passed explicitly.
I added this to a monitoring mixin, so that the name of the method where something is logged doesn't have to be passed explicitly.
The `.split(" ").last` is because the caller location is a string that can be either just the method name, or something like `"rescue in method_name"`, `"block in method_name"`, and a few other variations.
The `.split(" ").last` is because the caller location is a string that can be either just the method name, or something like `"rescue in method_name"`, `"block in method_name"`, and a few other variations.
www.johnhawthorn.com/2025/searchi...
There's no reason to use an unofficial docs site anymore, as far as I'm concerned.
www.johnhawthorn.com/2025/searchi...
There's no reason to use an unofficial docs site anymore, as far as I'm concerned.
For instance:
```
require "continuation"
arr = [ "Freddie", "Herbie", "Ron", "Max", "Ringo" ]
callcc{|cc| $cc = cc}
puts(message = arr.shift)
$cc.call unless message =~ /Max/
```
produces:
```
Freddie
Herbie
Ron
Max
```
For instance:
```
require "continuation"
arr = [ "Freddie", "Herbie", "Ron", "Max", "Ringo" ]
callcc{|cc| $cc = cc}
puts(message = arr.shift)
$cc.call unless message =~ /Max/
```
produces:
```
Freddie
Herbie
Ron
Max
```