RSS Ruby fleebie

http://www.rubyfleebie.com

Because programming should be fun

Last checked 35 minutes ago.

11 people have subscribed to this feed.

Feed frequency

post frequency (last month)

PostRank™ filter

latest 15 posts

« older items




Thursday October 30th, 2008

1.0

simplyglobal : A simple globalization plugin for Rails

Ruby fleebie From Ruby fleebie, 2 months ago, 0 comments Comment

simplyglobal : A simple globalization plugin for Rails The following is a guest post from Dan Simard Sometimes, you have to reinvent the wheel. It’s really sad to say and you will probably hate me for saying that (and I know that you’ll do because I hate myself for it). I’ve written a new [...]

Monday October 13th, 2008

6.2

How to display a collection grouped by an attribute value in Rails

Ruby fleebie From Ruby fleebie, 2 months ago, 0 comments Comment

Flashback time. We are in 1999 and you are coding in ASP... yet people are not laughing at you.

Tuesday October 7th, 2008

2.2

XMPP4r 0.4 has been released

Ruby fleebie From Ruby fleebie, 3 months ago, 0 comments Comment

It’s been a while since the latest release of XMPP4r. I was starting to think that the development for this great library had been stopped. Fortunately, version 0.4 has been released on August 5th 2008. We’re going to try this new version internally and eventually use it for TimmyOnTime. I am personnally hoping for less memory [...]

Friday October 3rd, 2008

1.0

Get the intersection of 2 arrays

Ruby fleebie From Ruby fleebie, 3 months ago, 0 comments Comment

Pretty easy stuff today, but this is not something you may need to do often so maybe you don’t know how to do it. Say I have these 2 arrays : colors1 = [:blue, :red, :green, :orange, :purple] colors2 = [:yellow, :cyan, :green, :blue, :purple] Now what if I want a new array that contains only the elements present [...]

Saturday September 13th, 2008

4.6

Need support for has_many through with has_one in the “bridge table”

Ruby fleebie From Ruby fleebie, 3 months ago, 0 comments Comment

has_many :through limitations

Wednesday September 10th, 2008

6.0

acts_as_state_machine and variable initial states

Ruby fleebie From Ruby fleebie, 4 months ago, 0 comments Comment

acts_as_state_machine is a great plugin really useful when you want to add constraints and behavior to your model objects. Note : Those who don’t know what this plugin is all about should stop reading right there or risk being completely lost. One thing that seems impossible to do with the plugin is to have variable “initial states” [...]

Wednesday August 20th, 2008

4.7

Use named_scope to add elegant finders to your models

Ruby fleebie From Ruby fleebie, 4 months ago, 0 comments Comment

I used to be a fan of the has_finder gem written by Nick Kallen. Now with Rails 2, this functionnality is built-in so you don’t need to install the gem. The named_scope method allows you to add finders to any model. A code snippet is worth 10000 words : class Story < ActiveRecord::Base   named_scope :hilarious, :conditions => ['type [...]

Monday May 26th, 2008

4.0

Komodo Edit : A great editor for dynamic languages

Ruby fleebie From Ruby fleebie, 7 months ago, 0 comments Comment

Being a Linux/Ubuntu user, i cannot use the praised Textmate editor to develop ruby applications. I tried a lot of editors, some of them being very good ones, but in the end I always end up using gedit. gedit is great… but it is rather limited features-wise. Recently I have tried Komodo Edit and I can [...]

Friday May 23rd, 2008

1.4

Phusion Passenger, you’re my hero

Ruby fleebie From Ruby fleebie, 7 months ago, 0 comments Comment

I feel so weird. Maybe it’s just the side-effects of eating that old, pinky-brown colored and talking piece of raw meat that was sitting in the corner of my kitchen since a month or two… but as strange as it may sound, I think it’s something else. I think it is something related to Rails that [...]

Thursday April 24th, 2008

7.3

Railers Need To Stop Not Caring About The Database

Ruby fleebie From Ruby fleebie, 8 months ago, 0 comments Comment

For many of us, databases are no fun… surely not as fun as ActiveRecord or Rails in general. Every railers I know love the “dot notation” offered by ActiveRecord associations immensely… while refering to the vast majority of raw SQL queries as “Some ugly non-sense gibberish that we would all prefer not know the [...]

Thursday April 17th, 2008

4.6

Rubyize this : 6th edition

Ruby fleebie From Ruby fleebie, 8 months ago, 0 comments Comment

Oh, my… God. What is this? First post in a century? What’s going on here Fleebie? Our beloved readers are going to stop respecting us, and for good reasons. For those who care, I am not dead, I am not sick… I am just working like crazy on Azanka, the company I started with Dan recently. Ok now [...]

Monday February 25th, 2008

5.0

Life beyond the each iterator

Ruby fleebie From Ruby fleebie, 10 months ago, 0 comments Comment

Today I will take a break from the IM integration with XMPP4r series and write about something completely different. Writing about XMPP4r just for the heck of it would become boring for everyone quite fast. Let me dim the light, start some sentimental music, light some candles, make an exaggerated smile so I can become intimate [...]

Tuesday February 12th, 2008

3.4

IM Integration with XMPP4r - 2 mistakes to avoid

Ruby fleebie From Ruby fleebie, 11 months ago, 0 comments Comment

In this 3rd part we’re going to be concrete but a little bit less technical. Here are 2 big mistakes you have to avoid when trying to setup an IM based application (Sorry for those who wanted more technical info about xmpp4r… maybe in the next one). The #1 mistake : Trying to run XMPP4r under [...]

Tuesday January 29th, 2008

7.7

IM Integration With XMPP4r : Part 2

Ruby fleebie From Ruby fleebie, 11 months ago, 0 comments Comment

In the first part, we talked less about XMPP4r and more about XMPP, this time it will be the other way around. Now that we know that XMPP messages are XML bits of information exchanged between a client and a server via a TCP connection, we are more able to understand the purpose of XMPP4r. What is [...]

Thursday January 3rd, 2008

6.3

Rubyize this : 5th edition

Ruby fleebie From Ruby fleebie, 1 year ago, 0 comments Comment

It’s been a while since the last edition of Rubyize this. I have waited all this time because I like when people become impatient. I have received 254 939 emails from desperate people asking me : “When will you post your 5th edition?”, “Is it hard to be that excellent?”, “You rock Frank. Warm kisses… [...]

« older items