blog.remarkablelabs.com

With the impending release of Ruby on Rails 4, it looks like a lot of developers will be updating their...

This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...

tl;dr: Upgrade the gem to at least 4.0.1 When you use rspec_rails in a version < 4 with Rails...

stackoverflow.com

Before Rails 3.2.14, when supplying an invalid locale to I18n, it would fall back to its config.i18n.default_locale (which is...

rubysource.com

Let’s take a look at what you need to do to get your app ready for Rails 4.

bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples

After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...

has_defaults is now a gem, no longer a plugin. The plugin version no longer exists. Note that plugins are...

We are using Spring in our tests for sequential test execution but not for parallel test execution. And Rails requires...

makandracards.com

Updated the card with our current best practice (shared app code and specs via symlinks).

On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...

makandra dev

Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.

github.com

Gem to get Rails 3's new ActiveRecord query interface (where, order) and the new scope syntax (chaining scope definitions...

makandra dev
github.com

EdgeRider 0.3.0 adds support for Rails 4.1 and Ruby 2.1. It forward-ports ActiveRecord::Base.scoped to Rails 4.1.

I got this error when running Rails 2.3 tests for Rails LTS. More stacktrace: NoMethodError: undefined method `cache' for Gem...

If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...

makandra dev

Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever.

After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...

makandracards.com

A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch

Now supports RSpec 3 and Rails 4 Drops support for state_machine, which has some issues with Rails 4 and...

github.com

Installation differs slightly from older versions, please check the README.

blog.bitcrowd.net

To make the RSpec matcher of the authorization solution Consul work with Rspec 2.x read the following blog post...

blog.bigbinary.com

Rails 5 migration classes look like this now: class CreateUsers < ActiveRecord::Migration[5.0] Mind the [5.0] at the end.

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