First stage of i18n. Some migrations and extra plugins.

This commit is contained in:
Shaun McDonald 2009-05-22 18:36:17 +00:00
parent 6ac7f91734
commit 53b4d645d8
82 changed files with 6876 additions and 18 deletions

View file

@ -0,0 +1,9 @@
class ChangeDiaryEntriesLanguage < ActiveRecord::Migration
def self.up
change_column "diary_entries", "language", :string, :default => "en", :null => false
end
def self.down
change_column "diary_entries", "language", :string, :limit => 3, :default => nil, :null => true
end
end