RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: superp
Site: http://superp.tumblr.com
We fork this gem and rewrite to more flexible globalize3
No more need to write create_translation_table! in migrations.
create_translation_table!
Just write in AR model translates "title:string", "content:text" and call rake db:globalize:up.
translates "title:string", "content:text"
rake db:globalize:up
It automatically synchronize translated columns with database (create/drop table or add/change/remove column).
We fork this gem and rewrite to more flexible globalize3
No more need to write
create_translation_table!
in migrations.Just write in AR model
translates "title:string", "content:text"
and callrake db:globalize:up
.It automatically synchronize translated columns with database (create/drop table or add/change/remove column).