Displaying 2 results from an estimated 2 matches for "tr_key".
2006 Aug 02
4
is it possible to duplicate a key? --new
Im not very familiar with RoR so this question might be kind of silly.
I want to store strings from different lenguages in a database. I want
to have the key for the string in english be the ''key'' for all the
corresponding traslations of that string. For example:
(database columns)
lenguage-------------key-----------------value-----
english hello
2006 Jun 05
0
Failed to install Globalize plugin
...g
==============================================
-- create_table(:globalize_countries, {:force=>true})
-> 0.2110s
-- add_index(:globalize_countries, :code)
-> 0.3000s
-- create_table(:globalize_translations, {:force=>true})
-> 0.1600s
-- add_index(:globalize_translations, [:tr_key, :language_id])
-> 0.2310s
-- add_index(:globalize_translations, [:table_name, :item_id,
:language_id])
-> 0.2200s
-- create_table(:globalize_languages, {:force=>true})
-> 0.1700s
-- add_index(:globalize_languages, :iso_639_1)
-> 0.2810s
-- add_index(:globalize_languages...