Conrad Taylor wrote: > Hi Alex, STRICT_ALL_TABLES is an option that one would set on a > database. > Thus, why don't you set it when you create the database? >
Conrad, AFAIK, SQL_MODE applies to _connection_, not DB itself. I.e. it's not the same as, for example, DB engine or collation mode. Consider (from 'script/server' log): > SQL (0.2ms) SET NAMES 'utf8' Well, what I need is almost similar. What Mark proposed above seems closer to what I need. It has never been a problem in less sophisticated environments. Just issue a bunch of "SET *" command after every connection and feel good. Alex -- 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 -~----------~----~----~----~------~----~------~--~---

