Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Compatibility of the Rails courses

Hi, just wondering: the intro course to Ruby on Rails uses version 5, but some other course use Rails 4.x Can I still benefit from those courses or are they outdated?

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

That depends. Treehouse has a few courses based on Rails 3, another series in Rails 4 and the new ones use Rails 5. Since, as a developer, you will most likely work with legacy code, it would be beneficial to know differences between these three versions.

From experience I can tell you that 90% of the projects you encounter will use Rails 4. Rails 3 is rare, unless the app wasn't maintained for a long time or the devs didn't care about keeping it up to date. The problem with Rails 5 is that there are still gems that are very useful and are either incompatible with Rails 5 or have fixed dependency on "rails < 5". Hopefully, the creators will update their gems in the near future.