Technology Insights

Convert iTunes to MP3

Converting iTunes files or MPEG4 files to MP3 format is easy using the iTunes client. We will want to change the Import Settings which will then allow converting files into the same setting as the Import Settings. Follow the simple steps below and you will be converting your iTunes files to MP3 in no time. iTunes…

Technology Errors

‘Can’t connect to local MySQL server through socket’ in Rails 2.2.2

Error in Rails 2.2.2 Status: 500 Internal Server Error Can’t connect to local MySQL server through socket ‘/opt/local/var/run/mysqld/mysqld.sock’ (2) Add the socket location to database.yml ruby production: adapter: mysql encoding: utf8 database: example_production username: root password: passwordie pool: 5 socket: ‘/var/lib/mysql/mysql.sock’ host: 127.0.0.1 Reference: database.yml in Ruby on Rails

Code Snippets

Rails 2.x start up (boot up) process

Here’s a “hierarchal summary” of The Rails startup process from a paragliders perspective – artweb design. By hierarchal, I mean its organized by how the code is executed. By summary, I mean things that I was interested in. Rais app starts by running  environment.rb boot.rb is required (require File.join(File.dirname(__FILE__), ‘boot’)) Defines RAILS_ROOT constant (points to…