Hello Gaƫtan!
> The only limitation to storing in a single table is that you need to
> have the same type of primary keys accross all the entities you want
> to be translatable.
..which is not mostly true. There are lots of cases to use compound
PKs, index some tables by a string (yes there are such cases! :)
The only problem that arises now with my approach is how to
automatically version the translations if the 'base' entity
acts_as_versioned? :)
> You use a property. Something like this:
Thanks!
--
Sergei
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---