News for hackers. Stuff that matters.
Re:What the hell is happening to rails? by sunchild on Monday June 13, 2011 @10:26PM (#2651573)
"I skipped the Rails 3 upgrade just simply because I couldn't justify the time sink."

This is where you lost me. I spent about 2 hours, aggregate, spent solving upgrade-related problems across a bunch of different apps.

Where is the time sink?

Re:What the hell is happening to rails? by jonnytran on Tuesday June 14, 2011 @02:05AM (#2651968)
The time sink is in migrating all the plugins/gems that either dropped support for Rails 2.x in favor of 3 (i.e. no version that supports both), or were abandoned for some other competing gem. What this means is that for any app that uses lots of plugins, it's a nightmare to upgrade to Rails 3.0, not because of Rails itself, but because it means you have to migrate all those plugins simultaneously just to preserve existing functionality.

There are entire sites like http://railsplugins.org/ to help you figure out if your plugins are Rails 3 compatible. Unfortunately, there simply aren't enough users to crowdsource the compatibility of all the plugins out there.

Re:What the hell is happening to rails? by nirvdrum on Wednesday June 15, 2011 @08:09AM (#2656739)
100% correct. The other fun one is rspec 1.x supports Rails 2.x but not Rails 3.x. spec 2.x supports Rails 3.x but not Rails 2.x. Since the Rails support was modular, I have no idea how this situation resulted. But it basically means I have to upgrade with no test suite.
Re:What the hell is happening to rails? by sunchild on Tuesday June 14, 2011 @02:52AM (#2652038)
Which gems are we talking about, specifically? If it was abandoned, then you should be replacing them anyway. Backward compatibility is vastly overrated.
Re:What the hell is happening to rails? by nirvdrum on Wednesday June 15, 2011 @08:11AM (#2656743)
Actually, it doesn't really matter if it was abandoned or not. Upgrading a large number of dependencies at once is going to create problems for any project. Hell, working out the redis-rb nightmare of an upgrade took well over a week of effort trying to coordinate with the various projects that depend on it.

But, if you think backward compatibility is vastly overrated, there's really no seeing eye-to-eye on this.