Article:
 |
|
Cookin' with Ruby on Rails - May
|
| Subject: |
|
Migration Error on Linux |
| Date: |
|
2007-07-11 06:36:36 |
| From: |
|
bill_walton
|
Response to: Migration Error on Linux
|
|
Hi Waylon,
Sorry you had a problem, but thanks much for making the time to let me know. If you get a chance, it would be great to know what Linux distro, version of Rails, etc. you're using. I'd like to investigate / understand this better. I'm working in Windows and I'm guessing there must be some difference between it and your Linux distro that's causing this. Maybe there's a way to avoid it. Sometime in the next few weeks I'm going to go back and redo the images to make them small enough that they don't require the "click to enlarge" button and, at the same time, I'll have an opportunity to make some minor changes.
Thanks again.
Bill
|
Showing messages 1 through 3 of 3.
-
Migration Error on Linux
2007-07-29 03:00:52
Geldart
[View]
-
Migration Error on Linux
2007-07-22 10:23:19
DaveMatuszek
[View]
-
Migration Error
2007-08-14 11:25:56
ezosoro
[View]
Exactly the same problem here (Ubuntu 7.04, Ruby 1.8.5, Rails 1.2.1). Fix needed seems to be two things:
i.e.:
class AddContributorName < ActiveRecord::Migration
def self.up
add_column("recipes", "contributor_name", :string, :default => "Unknown")
end
def self.down
remove_column("recipes", "contributor_name")
end
end