Helix allows you to implement performance-critical code of your Ruby app in Rust, without requiring glue code to bridge...
Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...
Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint...
OAuth requires a set of params to be carried along requests, among which a nonce. Some libraries pass these along...
You can use JavaScript to get or set cookie values on the client. Using the vanilla JavaScript API
Git commands tend to come in groups. Avoid typing git over and over and over by running them in a...
The NestedHash class allows you to read and write hashes of any depth. Examples: hash = {} NestedHash.write hash, 'a', 'b', 'c...
Enter any command into explainshell and it will explain it to you: split into separate commands (if present), with each...
To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.
Our preferred way of testing ActiveRecord is to simply create/update/destroy the record and then check if the expected behavior has...
Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...
A HTTP 302 Found redirect to PATCH and DELETE requests will be followed with PATCH or DELETE. Redirect responses to...
First, decide if you want to pull with rebase. There are some implications of changing this, so think before you...
Don't use be_true to check if a value is true. It actually checks if it anything other than...
I got this error when running Rails 2.3 tests for Rails LTS. More stacktrace: NoMethodError: undefined method `cache' for Gem...
Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...
A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax.
You can tell git to ignore different kinds and amounts of whitespace when merging or cherry-picking. This often occurs...
There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available
Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...
When you're using feature branches, they will stack up if you don't delete them after the merge to...
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
Install this gem and stop using bundle exec or even Geordi's handy b. Yay!