Displaying 1 result from an estimated 1 matches for "create_translation_t".
2012 Dec 18
0
problem with globalize3 : undefined method `create_translation_table!'
...ub.com/svenfuchs/globalize3/issues/172.
I created a new project with a new model and I integrated globalize3. I
created a migration like this :
class CreatePages < ActiveRecord::Migration
def up
create_table :pages do |t|
t.timestamps
end
Page.create_translation_table! title: :string, body: :body
end
def down
drop_table :pages
Page.drop_translation_table!
end
end
When I migrate I have this error : `undefined method
`create_translation_table!'' for Page(Table doesn''t exist):Class`.
When I rollba...