[Migrated to Rails]