globalize-automatic 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/globalize/automatic/translation.rb +1 -1
- data/lib/globalize/automatic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e6b61de4bb74485b932ddcd9f32c58c4063148f
|
4
|
+
data.tar.gz: 718ddcd6b0d1cd9123edaf29616354cd714e9ee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f5b242b1bcf2ebbba3f36f86dd8a36eb46c7f5342eb4083bc67f0eb31cbfa2a65d87272a1d4d955e68abee2144e37399627bc2872ceda6d9e56f63218aca84e
|
7
|
+
data.tar.gz: a1ef9868578172474eb29f096d4f974fa200e5c1ec26a226768918372d8c359d7be1f1e27381c443ffc1f7d3c501c8bd54ae2e4aab17176c70e88353c6e45169
|
@@ -44,7 +44,7 @@ class Globalize::Automatic::Translation < ActiveRecord::Base
|
|
44
44
|
class << self
|
45
45
|
def create_table!(*fields)
|
46
46
|
connection.create_table(table_name) do |t|
|
47
|
-
t.references automatic_translated_model_foreign_key.sub(/_id$/, ''), null: false
|
47
|
+
t.references automatic_translated_model_foreign_key.sub(/_id$/, ''), null: false, index: true
|
48
48
|
t.string :locale, null: false
|
49
49
|
fields.each do |field|
|
50
50
|
t.boolean *automatically_column_args(field)
|