Peter Marklund

Peter Marklund's Home

Wed October 31, 2007
Programming

Rails Plugin: mysql_requirement

I added the plugin mysql_requirement that allows me to check the encoding/charset settings of the MySQL server as well as its version when my Rails application starts up and abort otherwise.

Comments

Andre said 6 months ago:

Hi Peter,

In Rails 2.0, if I add the "MysqlRequirement..." commands to an initializer file, then I can't do "rake db:create" -- it gives an error.

What should I do?

--------------------------------------------------------------------------------

Leave a Comment


(leave url/email »)


Use plain text for your comments. HTML will be quoted. URLs will be turned into hyperlinks. Linebreaks will be preserved.