So you're getting an error message like the following, although your Gemfile lists shoulda-matchers and it has always...

The way Rational#to_s works on Ruby has changed from Ruby 1.9 on. Here is how to get the...

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

makandra dev
github.com

Now supports Rails 4.1 and Ruby 2.1.

If you have the following deprecation warning after upgrading to rails >= 2.3.10 DEPRECATION WARNING: The :overwrite_params option is deprecated...

gist.github.com

Rails 2.3.16+ on Ruby 1.9 causes warnings like this: .../gems/activesupport-2.3.17/lib/active_support/core_ext/string/output_safety.rb:22: warning: regexp match /.../n against to UTF-8 string...

Remember how Rails 2 came with an awesome feature that broke all code using Time.now or Time.parse? This behavior is...

While RSpec 1 and 2 decided that specs inside spec/model are model specs, and those inside spec/features are feature specs...

makandra dev

We forked craken today and fixed one of the issues we had with new (>0.8.7) rake versions. The craken:install...

assignable_values now supports Rails 4.1 and Ruby 2.1.0.

Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...

Use bundler > 1.15 to fix Gem::LOADED_SPECS_MUTEX (NameError). Given the following project: ruby -v ruby 1.8.7

We recently migrated a Rails application from yarn to npm. We decided to go this step instead of upgrading to...

Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...

getbootstrap.com

Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...

github.com

I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...

tl;dr: Always have your attachment path start with :rails_root/storage/#{Rails.env}#{ENV['RAILS_TEST_NUMBER']}/. The directory where you...

SSHKit 1.9.0 might fail with the following error, when trying to deploy a Rail application. Upgrading the gem to version...

You will get this when you are using the latest version of Rails with a recent version of Rack:

When writing a piece of reusable code, you sometimes need to have separate code for Rails 2 and Rails 3...

Warnings like those below may originate from rspec or shoulda-matchers or other gems that have not updated yet to...

It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...

MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...

Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...