• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 12 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Helps you upgrade to Rails 4

rails4_upgrade Build Status

Helps you more easily upgrade to Rails 4. A work in progress, I'm simply shipping something of a minimum viable product to attract others to contribute.

Inspired by rails_upgrade which helped upgrade applications from Rails 2 to Rails 3.

Written in part to complement the book Upgrading to Rails 4.

Installation

Upgrade to Ruby 1.9.3 if your application does not already use it. Rails 4 requires Ruby 1.9.3, and rails4_upgrade uses 1.9-only syntax and semantics.

Add to Gemfile:

gem 'rails4_upgrade', github: 'alindeman/rails4_upgrade'

Usage

Run rake rails4:check:

$ rake rails4:check

** GEM COMPATIBILITY CHECK **
+--------------------+----------------------+
| Dependency Path    | Rails Requirement    |
+--------------------+----------------------+
| draper 0.18.0      | actionpack ~> 3.2    |
| draper 0.18.0      | activesupport ~> 3.2 |
| simple_form 2.0.4  | actionpack ~> 3.0    |
| simple_form 2.0.4  | activemodel ~> 3.0   |
+--------------------+----------------------+

Contributing

I'm open to accepting pull requests that improve the functionality of the gem.

If there's an upgrade procedure that can be automated or semi-automated, let's discuss it. Open an issue.

Ideas:

  • Recommending versions of gems that may be compatible with Rails 4
  • Removing deprecated configuration options
  • Adding newly required or recommended configuration options

More Repositories

1

upgradingtorails4

Upgrading to Rails 4 e-book
CSS
449
star
2

zonebie

Zonebie prevents bugs in code that deals with timezones by randomly assigning a zone on every run
Ruby
413
star
3

hyperll

HyperLogLog implementation for Ruby (as a C extension)
C
22
star
4

rake-rails

Reduces the confusion for newcomers by allowing `rails` commands to be run via `rake`
Ruby
15
star
5

circular_queue

Data structure that uses a single, fixed-size buffer as if it were connected end-to-end
Ruby
14
star
6

rope

Pure Ruby implementation of a Rope data structure
Ruby
9
star
7

rector

Rector coordinates parallelized jobs that generate metrics or other data together
Ruby
7
star
8

atldevs

Ruby
6
star
9

ancient_mock

Ruby
6
star
10

go-kestrel

Interact with kestrel using golang
Go
5
star
11

search_terms

Extracts search terms from search engine referral URLs
Ruby
5
star
12

lint2hub

lint2hub automates creating GitHub pull request review comments in response to code linters
Go
5
star
13

chroma

Wrapper around the Philips Hue API in go
Go
2
star
14

protobuf-presentation

Go
2
star
15

null_object

Dead simple library to create null objects (objects that respond to all messages)
Ruby
2
star
16

papers_ive_read

A sampling of the papers I've read and want to keep for reference
2
star
17

opsworks-cookbooks

Shell
1
star
18

hsvrb_testing_presentation

High Level Overview of Unit Testing Given at hsv.rb
1
star
19

wither2

Go
1
star
20

acceptance_testing

JavaScript
1
star
21

mock_proc

Ruby
1
star
22

gprint

Go
1
star
23

sunspot_demo

Rails 3.1.1 Demo App for Sunspot 1.3.0
Ruby
1
star
24

google-oauth2.herokuapp.com

JavaScript
1
star
25

pivotal-tracker

Clojure
1
star
26

hubot-twitter-stream

CoffeeScript
1
star
27

jruby-msgpack

Ruby
1
star
28

alindeman.heroku.com

Simple sinatra app to redirect to alindeman.github.com
JavaScript
1
star