I had this error: > gem install bundler Successfully installed bundler-2.0.1 1 gem installed > bundle install Traceback (most recent call...
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
If your app does not need to support IE11, you can use most ES6 features without a build step. Just...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...
When your code does not behave as expected, you can use a debugger statement ("breakpoint") at any point in your...
In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...
When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...
The exception_notification gem supports to provide custom data to e.g. the fail mail within foreground or background jobs. ExceptionNotifier.notify...
Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...
Rubymine 2024.3 bundles Grazie Lite by default. You need to enabled "German" under Settings/Preferences | Editor | Natural Languages.
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
When debugging your application, you will come across objects created by some gem or framework. You don't have the...
Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...
Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...
In this example we assume that not only the storage gem changes but also the file structure on disc.
Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...
If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...
Let's say you have a gem which has the following module: module SuperClient def self.foo 'Foo' end
We want to keep a changelog for all gems we maintain. There are some good practices for writing a changelog...
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
If you want to fill in textareas with multiple lines of text (containing line breaks / new lines) you can use...