Commit graph

20 commits

Author SHA1 Message Date
Tom Hughes
eada36ff96 Switch to using the zeitwork autoloader 2020-12-30 20:30:21 +00:00
Tom Hughes
57f5b7840e Fix rubocop warnings 2019-12-04 19:31:53 +00:00
Tom Hughes
b606acba0c Use rails 4.2 defaults for older migrations 2019-04-24 11:14:05 +01:00
Tom Hughes
29a780eb1a Add rails version number to migrations 2017-10-17 18:49:55 +01:00
Tom Hughes
c8671c137a Update rubocop 2017-02-05 11:12:37 +00:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
ef7f3d800c Fix most auto-correctable rubocop issues 2015-02-20 08:56:16 +00:00
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