Removed gettext and simplified_localization-plugin. L18n is now the appropriate module.

Upgraded to rails 2.2.2 and replaced complex foodsoft.rb-loader with simple
initializers/load_app_config.rb. Multiple foodcoops option is temporarly deactivated.
This commit is contained in:
Benjamin Meichsner 2009-01-06 15:45:19 +01:00
parent 5b9a7e05df
commit 9f8d0d28ac
121 changed files with 1197 additions and 15237 deletions

View file

@ -1,10 +1,7 @@
class SharedArticle < ActiveRecord::Base
# gettext-option
untranslate_all
# connect to database from sharedLists-Application
SharedArticle.establish_connection(FoodSoft::get_shared_lists_config)
SharedArticle.establish_connection(APP_CONFIG[:shared_lists])
# set correct table_name in external DB
set_table_name :articles