globalize-automatic 0.0.3 → 0.0.4
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: ecad62e525f85b5c698e5d791813ddb1ad1b13bc
|
4
|
+
data.tar.gz: 7bfa8b02b94217943847035d12b598da6171f425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ad9f43cedb721cce85d189ff7eb74e2763c67cda067e537df459bddb710fc9a3888380479f64014bc6c6b275321fb50a9d64ffb3816aaa02cc578ea89697ba
|
7
|
+
data.tar.gz: 3571b48e92ff9a6be695621010d3ab7b1338ca0eabf4413ae334a41168360307022284ee1030321000cb739ce15c6cd45f3b1133f9756841a86a80b856151519
|
@@ -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
|
48
48
|
t.string :locale, null: false
|
49
49
|
fields.each do |field|
|
50
50
|
t.boolean *automatically_column_args(field)
|