Navigation

ADS specializes in using Ruby on Rails to build advanced, scalable, database-backed web sites for organizations of all sizes. Find out more at our website.

Atlantic Dominion Solutions

In an interesting coincidence, the same week that Paypal complained about Safari’s lack of support for EV SSL or any anti-phising measures, an exploit is posted for the “enhanced” SSL certificates. While, yes, Safari could do with having some of the newer security techniques, I wouldn’t agree with Paypal’s assertion to dump the browser - it has been my browser of choice for a year and it works just great.

Share this post

The next release of Safari should be very beneficial to web developers, according to MacRumors.com. Key features include improvements if CSS support that will lessen the need for Prototype and Script.aculo.us, support for the new HTML5 audio and video tags that make media playback easier to control, and most curiously a new SQL engine for storing data on the client - who needs cookies anymore? No details of an expected release date were given, but we’re sure looking forward to it.

Share this post

After recently reinstalling MySQL 5 on my OSX Leopard machine Rails stopped being able to connect to it - every time I’d start script/server it would say:

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’

After spending some time looking to see if maybe the socket file had been put in a different location I finally found the issue: MySQL wasn’t creating a socket file at all and needed to be told to do so. So, if you start receiving the above error, just make sure that the file /etc/my.cnf has the two socket lines as mentioned below, one in the [mysqld] section, the other in the [client] section:

[mysqld]
bind-address = 127.0.0.1
socket=/tmp/mysql.sock

[client]
socket=/tmp/mysql.sock
Share this post

I upgraded to Leopard the weekend it was released and had been using MacPorts to do my Ruby install. However, after the upgrade some things weren’t working right, most notably rmagick created fireworks when I’d try to load it, and in the last day or two MySQL has decided to stop working too. So, tonight I’m dumping MacPorts and moving everything to native installs. To help you do likewise, here are a few things to remember when you’re getting Rails to work on OSX Leopard:

  • Leopard was bundled up with some slightly older gems, so make sure to do do “gem outdated” to see what updates are available, then “gem update” to grab all of the updates.
  • Everyone developer needs a database. If your database of choice, for development purposes at least, happens to be MySQL, you’ll be slightly disappointed to know that at the time of writing there isn’t a fully Leopard compatible MySQL package available, yet. Thankfully Orlando’s own (and forthcoming Acts_as_Conference speaker) Dan Benjamin has come to the rescue with a complete install guide for MySQL on Leopard, which also includes a handy-dandy downloadable bash script to take all of the effort out. Thanks Dan!
  • The one library I was surprised that wasn’t included with Rails is the RMagick gem. RMagick is the Ruby plugin for using the venerable ImageMagick, or the GraphicsMagick spinoff, and is a bit tricky to install due to the sheer amount of prerequirements it has. Thankfully the OnRails.org folks have put together a great tutorial on installing RMagick on Leopard without using MacPorts, which will help keep your system nice ‘n clean.

Thanks to Dan Benjamin and the OnRails team for the tutorials, they’ll be a great help for Leopard users for ages to come. Of course if someone wanted to do a proper installer for RMagick I’m sure a tip jar could be organized :-) - any takers?

Note: If you’re installing on a PowerPC machine you need to modify the following line of Dan’s MySQL installer script:

sudo env ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

to say:

sudo env ARCHFLAGS=”-arch ppc” gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

Make sure you make that change before trying to run the script otherwise you’ll end up with some difficulties. Other than that little detail it works perfectly.

Share this post

In preparation for the free Rails For All introduction to Ruby on Rails class, and in the interest of not reinventing the wheel, we are posting links to getting Ruby set up on your machine. If you don’t want to chance it, we will help you get up and running during the first session. For those of you brave enough and get it installed, we will be asking for your help in getting everyone going. So, without further ado, here are the goods:

Mac
There is a great tutorial over at Hivelogic for getting everything up and going, a-z.

Windows
The interestingly titled blog, guttervomit, did a complete A-Z tutorial for getting everything up and running on Windows. It serves as a great primer, however, you can skip to the installation steps as we will discuss Ruby and Rails in the class. Check it out the tutorial here.

Linux
With so many wonderful versions of Linux out there, here are a few links for a few of the distributions:

Ubuntu Edgy Eft
Fedora 7

Share this post

Cool down that MacBook Pro

By: Robert Dempsey | Tags:

A friend of mine turned me on to a little app from Lobotomo Software that is quite useful. It controls the fan on your MacBook Pro and allows you to change the base speed of your fan. Get it here but don’t forget, the higher the speed the less life you get. Enjoy!

Share this post

Improve Safari Performance

By: Robert Dempsey | Tags:

A cool and free SIMBL plugin for Safari, Star Performer, allows it to use the cpu even when in the background, thus making things like video performance not go down the tubes when you try to do something else. Grab the goodies and details here.

Share this post

Google CEO Joins Apple Board

By: Robert Dempsey | Tags:

Read a quick blurb on Informationweek.com about Eric Schmidt, the CEO of Google, joining the Apple board. Read the article here.

Share this post

For anyone (including myself) who has sent out an email minus the attachment they meant to include, there is hope, or atleast help. There is now a FREE mail attachment scanner plugin for Mail.app (yes Mac only) that will scan your email for the word “attachment” and many variations of it and checks to see if you actually attached something to the message! Amazing! Check it out here for all the details.

Share this post

Call Recorder for Skype on Mac

By: Robert Dempsey | Tags:

An interesting little utility in the CYA category is the Call Recorder for Skype from Ecamm Network. As the name implies, it allows you to record Skype calls with the click of a mouse. Visit the Ecamm site for more details.

Share this post