first of all Alpha blue, thats exactly what i want.any ideas on how to do this? and radhames brito, i didnt understand a thing from your comment. could you explain a little more what do you think i need to do? On Sun, Sep 12, 2010 at 5:08 AM, radhames brito <[email protected]> wrote:
> if you want a variable db schema go with mongodb , but i dont think thats > what you really want, i think is easier to have a polimorphic text table > that can belong to the models that contain text and pull depending on the > locale. > > watch a schema less database here > > http://railscasts.com/episodes/194-mongodb-and-mongomapper > > > On Sat, Sep 11, 2010 at 5:44 PM, Alpha Blue <[email protected]> wrote: > >> TEREN wrote: >> > I try to make a table in the database where all my texts are in so i >> > could add another column one day for a different language so when I do >> > decide to translate my site to a different site it would be a matter >> > of adding a column to a table. >> > (BTW I intend to put all the data in my site in the database(with no >> > real static content so it seems like the best choice i have) >> >> I believe what you are really trying to ask here is how to properly add >> localization to your site. Right now your site is being localized for a >> specific language and parts of your site inherit text that is stored in >> a specific localization table for say.. English. Then, at another point >> in time, you want to be able to add another column for say.. German, >> etc. >> >> Is this what you are trying to accomplish? >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<rubyonrails-talk%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

