Articles

Installing MySQL Gem on Mac OSX with XAMPP

I was having lot of trouble on installing the MySQL Gem for Mac OSX Leopard 10.5.9 via XAMPP. I have the XAMPP running and also mySQL. Here are the steps.

1. Install XAMPP for MAC

2. Install XAMPP Dev Package

3. From your terminal type the following command and you’ll see the following

Wireframing your Rails Apps

A really useful way to mockup your applications before coding is to use wire framing software to create the screens and layout of your application.

LessCSS goodies

If you haven’t heard about LessCSS then check it out, really cool solution for writing css code in concise way. I’m planning to use it in some of my projects (and probably for this blog’s styles) and I’ve created two tools which could ease my work with LessCSS.

Passing data from child window to parent window

In this blog, i will show you how to pass data from child window to parent window.
1. Create a form in parent window.


"width=850,height=150,status=1,");>open the child window

2. Create a second window

3.

Call javascript after page load

Recently I required to call a function after a page load in my project.
onLoad event is available in html but not like afterLoad or offLoad event in html.
I found  one of the easiest  solution. Just call a function at end of the page.  :)

.....

Is that so simple?

Sinatra Course: 4th Batch Announced

Open File Fast 0.9.4 released for Netbeans and JEdit

Here we go again. Open File Fast 0.9.4 has just been released into the wild. And there is big news: with this release I’m introducing Open File Fast for JEdit!

Automating ec2 deployments with Ruby

Recently I’ve had a couple of clients choose Amazon EC2 for their deployment environments, so I’ve been spending more time playing with EC2 lately than I ever had before. I set out to create a repeatable and time-efficient deployment process, and the result of my work is an easy to use ruby script, detailed below.

Ruby 1.9 and file encodings

Just out of curiosity, I took two of my recent Rails applications today and tried them with Ruby 1.9. It was surprisingly easy to make all tests pass without any warnings or errors. Rails 2.3 already has quite good support for Ruby 1.9. The main gotcha however was about file encodings. If you have source files which contain non-ASCII characters, Ruby 1.9 now needs to know which encoding the file was saved with. If you don’t specify the encoding for a file with non-ASCII characters, you’ll get an invalid multibyte char (US-ASCII) error message.

jQuery base code to create a jQuery plugin

Recently I was discussing how to create a jQuery plugin with a friend of mine. In the end I had a base code that should work as a starting point of any jQuery plugin.

Take a look

It's a wrap! | Rails Fire

It's a wrap!

Send to friend

We're finally getting all our after-conference activities completed. The most exciting thing is that we just got our conference media online. We have video and audio recordings of the Golden Gate Ruby Conference technical sessions! Pivotal Labs sponsored the recordings, and is hosting them at pivotallabs.com/gogaruco - you can watch them there or download the files to watch later, or get them from the iTunes podcasts.

We also are trying something new (for Ruby confs, at least). We have put together a 42 page PDF zine, the Golden Gate Ruby Wrap, in order to document the conference, the speakers, the sessions, and the attendees. There are a lot of photos of the event, speaker bios, talk write-ups, and even interviews with attendees. It's the official record of the conference (as official as we get, anyway), and it's free.

Just because people have been asking, I'll say that Matt Aimonetti's talk on CouchDB is not included in the talk videos. Matt didn't want to offend anyone else, so he asked the talk recording not be released. Please don't ask for a copy privately, as I can't help you out. However, there is a great write-up of Matt's talk in the Wrap.

I'd also encourage you to check out the gogaruco blog posts at Pivotal Labs - there are articles for every session at the conference. Sarah Allen also blogged many of the sessions at her site. Know of any other good posts about sessions? Let us know in the comments.

And if you want to see how things looked, there are a lot of good photos up on flickr.