If you're seeing spec failures, e.g. FooController PUT update when unsuccessful renders edit' FAILED expected "edit", got nil

This took lots of figuring out, so I'm going to document it here. Install debugging gems on vagrant server...

Foxsoft

if you want to see how quick/slow a command is in irb you can paste or mixin the following method...

If you'd like to switch to the Rubygems server, please see our installation instructions.

Foxsoft

Rails 3.2 support is available to all subscribers on a Startup, Standard or Enterprise plan. To swap out the official...

jaredonline.github.io

A good article which explains how to add sprockets to Rails 2.3 to provide asset pipeline functionality.

when upgrading from Rails 3.2 to 4.0 I encountered an issue trying to run the app: /var/lib/gems/1.9.1/gems/actionpack-4.0.13/lib/action_dispatch/middleware/stack.rb:107:in `delete...

From Draper v1.0 your decorators need to inherit from Draper::Decorator so: class BookingDecorator < Draper::Decorator instead of: class BookingDecorator...

While trying to upgrade from Rails 3.2 to 4.0 I had this problem when starting the app: NoMethodError: undefined method...

While trying to upgrade an app from Rails 3.2 to 4.0, when trying to run the app I got the...

Issue when upgrading from Rails 3.2 to Rails 4.0, having run bundle update rails...

...to update Rails and other gems...

eng.uservoice.com

It may also be possible to upgrade higher according to this post: http://blog.lucascaton.com.br/index.php/2014/02/28/have-a-rails-2-app-you-can-run-it-on-the-newest-ruby/

Best results in other decks

When you want to filter records in a model where a string column roughly matches a given term, you can...

In Rails, the implicit_order_column (added in Rails 6) is a configuration option that helps you define the default...

Search in all decks