On 8 Dec 2008, at 18:33, jeljer te Wies wrote:
> > Hi people, > > Does anybody know if it is possible to create columns on the fly.. > so wihout a migration. > > I would like to do this so that my customers can create multiple > languages whitout me generating that language for them. > > ohw an second question: could I then check if a particularly column > exists ? in a table of course :P > Well you can of course execute arbitrary sql (ActiveRecord::Base.connection.execute), which could add a column (you will run into the slight issue that you will need to get all of your mongrels/mod_rails instances etc... to call SomeTable.reset_column_information). This sounds like a horrifically bad idea though Fred > thanxs! > -- > 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] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

