1

How do you specify the column size of the columns in the translation tables?

From the README:

Post.create_translation_table! :title => :string, :text => :text

how would I work in a :limit => 37337?

I tried

Post.create_translation_table! :title => :string, :limit => 1000, :text => :text

but that doesn't work

using rails 3 + globalize3 0.1.0.beta

Charlie Salts
  • 13,109
  • 7
  • 49
  • 78
WaylandC
  • 13
  • 3

1 Answers1

0

Post.create_translation_table! :title =>{ :type=> :string, :limit => 1000}, :text => :text

Alisher Ulugbekov
  • 2,039
  • 2
  • 13
  • 8