Quantcast
Channel: hugo.frappier » Ruby on Rails
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Textmate shortcuts

Oh my god. I finally found the shortcut I was missing for so long: Ctrl-Shift-T. It brings a list of all the methods in the class I’m currently editing. Man, I was dreaming about this feature almost...

View Article



Image may be NSFW.
Clik here to view.

GoogleMap geocoding challenges

Like most of the programmers that have to deal with languages other than english, I wish we were building english-only web applications, and support only english strings. I live in Quebec and almost...

View Article

Image may be NSFW.
Clik here to view.

SOLR Presentation at Montreal On Rails

I’m back from a very relaxing week in Mexico.  I strongly recommend this resort: Valentin Imperial Maya in Riviera Maya.  Great place, great food! Alright.  Here are the show notes of my presentation...

View Article

Image may be NSFW.
Clik here to view.

simply_versioned + attachment_fu + aws/s3

After adding simply_versioned support in a model that is using attachment_fu with S3 storage, I was getting this strange error the second time my versions association was used in my application:...

View Article

Image may be NSFW.
Clik here to view.

Permanent 301 redirections using a Rack middleware in Rails

It’s a quarter to midnight and you are just about to deploy a new version of a web site that has a totally new hierarchy.  This happens a lot when migrating a PHP site to Rails.  And then you realize...

View Article


Image may be NSFW.
Clik here to view.

Rails 1.2.x + Ruby 1.8.6 + Snow Leopard: the missing link

Yesterday, I migrated to Snow Leopard.  After a day of file transfers, disk formatting, apps installation, password and license keys recovery, I finally was ready to install the Rails stack.  It’s...

View Article

Image may be NSFW.
Clik here to view.

Efficiency with Rails

Sometimes, I can’t believe the amount of work I can accomplish with Ruby on Rails. Today, I finished coding a RSS feed aggregator that generates aggregated RSS feeds for a Joomla web site (it merges...

View Article

Image may be NSFW.
Clik here to view.

Let’s have fun: Rails 2.3.5 + nginx + Passenger on a G4 Cube with Tiger

Last week-end, I purchased a used PowerMac G4 Cube, an iconic product in the Mac community.  I was wondering what I could do with it, given its performance limitation. I thought of using it to rip some...

View Article


Image may be NSFW.
Clik here to view.

Rails 1.2.x + Ruby 1.8.6 + OS X Lion: 10 easy steps

One of my most popular blog posts is this one, where I explain how you can have an old Rails application running on Snow Leopard. Well now that Lion is out, it’s time to update and again make sure our...

View Article


Image may be NSFW.
Clik here to view.

New inflectors in Rails 3.0.5 may break your ActiveRecord models

I decided to write on this in the hope it will help someone else.  I lost too much time on this problem. I have a Rails application that I migrated from 3.0.3 to 3.0.9.  Suddenly, all my tests were...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images