Commit graph

13 commits

Author SHA1 Message Date
Tom Hughes
ac7bb003ec Cleanup migrations
Cleanup our migrations, replacing as much of our custom code
and monkey patching with modern standard rails methods.
2015-01-11 12:53:01 +00:00
Tom Hughes
3e99bbf5a9 Remove lib prefix from includes for ruby 1.9 compatibility 2012-01-05 20:33:19 +00:00
Jason Meinzer
1a65b3ac6f Qualify ActiveRecord::IrreversibleMigration 2012-01-04 22:25:53 +00:00
Tom Hughes
e1213a4651 Use Rails.xxx instead of RAILS_XXX 2011-11-14 09:42:40 +00:00
Tom Hughes
73340e1780 Add support for reloading the language table. 2009-09-03 21:55:42 +00:00
Tom Hughes
51010abe83 More missing files from I18N merge. 2009-05-31 17:41:25 +00:00
Tom Hughes
11b1f7d739 Missing migrations from I18N merrge. 2009-05-31 17:29:49 +00:00
Tom Hughes
098e757cf2 Add a remove_foreign_key method and make migration 34 reversible. 2009-05-31 13:53:16 +00:00
Tom Hughes
7c6d4e9076 Fix foreign key. 2009-05-30 17:01:43 +00:00
Tom Hughes
5b3b288fc2 Add a list of languages and fix a few issues with the schema. Also get
language selection for diary entries working.
2009-05-30 16:37:21 +00:00
Tom Hughes
ded669bb4d Use a block to add the language record as rails seems to ignore any
attempt to set the primary key in the argument list of the create method.
2009-05-23 12:39:45 +00:00
Tom Hughes
0e71278320 Rename language_code to code - language_code is tautological when it's
in the language table anyway.
2009-05-23 00:00:25 +00:00
Shaun McDonald
53b4d645d8 First stage of i18n. Some migrations and extra plugins. 2009-05-22 18:36:17 +00:00