As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...
When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...
I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...
When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...
Sometimes you want to know exactly how many objects exist within your running Ruby process. Here is how: stats = {} ObjectSpace.each...
Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...
Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...
Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...
Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...
For each movie in MovieDB, we want to track which other movie it was inspired by. For...
We use Selenium WebDriver integrated with Cucumber/Capybara for full-stack integration testing. Try and use it Your forked MovieDB should...
Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...
To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...
If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever
What is rake good for? Take a look at some of the Rake tasks that Rails gives you (rake...
To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:
There is no single place to look up documentation for our stack. This card includes some hints where you can...
makandra's development process Learn about our process. The squares represent the state of the issue in Linear:
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...
Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger
Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters:
Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...