The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Upgrading Rails Applications Sucks

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jeremy Voorhis

Posts: 212
Nickname: jvoorhis
Registered: Oct, 2005

Jeremy Voorhis is a Rubyist in northeast Ohio.
Upgrading Rails Applications Sucks Posted: Jan 20, 2006 3:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Jeremy Voorhis.
Original Post: Upgrading Rails Applications Sucks
Feed Title: JVoorhis
Feed URL: http://feeds.feedburner.com/jvoorhis
Feed Description: JVoorhis is a Rubyist in northeast Ohio. He rambles about Ruby on Rails, development practices, other frameworks such as Django, and on other days he is just full of snark.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Jeremy Voorhis
Latest Posts From JVoorhis

Advertisement

Currently, the recommended upgrade path for a Ruby on Rails application is to run rails . from your application root. This regenerates the skeleton of a Rails application on top of your existing application.

Considering the sophistocation of migrations in Rails to manage database schema, this approach to managing the app is naive and dangerous.

As you might suspect, I have taken no action to address this issue before blogging it, but here is a proposed enhancement.

  1. The rails command should generate a file called RAILS_VERSION containing – you guessed it – the version number the application was generated with
  2. Future versions of Rails should be distributed with a manifest (similar to that of a generator’s) of changes to the skeleton application between that version and the last version
  3. This manifest can provide a clear upgrade path to an automated tool like rake upgrade_rails
  4. Certain files will not be tampered with, such as public/index.html

Please, share with me your thoughts on this. I appreciate Rails’ rapid pace of improvement, but give us a better way to keep up!

Read: Upgrading Rails Applications Sucks

Topic: Teach Me Something... Previous Topic   Next Topic Topic: Failed acceptance tests... that means they actually passed?!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use