developer

Rails 2.3.5 and MySQL with Netbeans and WEBrick in Windows

After upgrading from Rails 2.0.2 to 2.3.5 my WEBrick server in NetBeans started printing the following message on its log and the application would not connect to the database.

The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.

I installed the refered gem but would still have the same problem when starting WEBrick, even after restart of the IDE.

Undefined method cache_template_extensions when migrating to Rails 2.3.5

After upgrading from Rails 2.0.2 to Rails 2.3.5 I got the following error message on startup of the server:

`send': undefined method `cache_template_extensions=' for ActionView::Base:Class (NoMethodError)

The solution is as simple as removing (or commenting out) the property 'cache_template_extensions' from 'configuration/environments/development.rb' as it no longer exists in rails 2.3.5.

Change Netbeans 6 IDE Language

I downloaded and installed today the Netbeans 6.7 and for my surprise its IDE was in Portuguese. I prefer using the IDE in English, so I tried to change it using the way I remembered from previous versions, i.e. at the Tools menu. As it happens, it is not possible to change the language of the IDE through the interface, because it is based on the locale of your machine.

Syndicate content