![]() |
| Home RSS Directory F.A.Q Try Custom Feed Sonneries Portable |
Latest Flows from this sub-category: random selection from this sub-category: |
Because programming should be fun Thu, 30 Oct 2008 19:38:58 +0100 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 [...]
Mon, 13 Oct 2008 21:44:32 +0200 Flashback time. We are in 1999 and you are coding in ASP... yet people are not laughing at you.
Tue, 07 Oct 2008 15:54:25 +0200 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 [...]
Fri, 03 Oct 2008 23:39:25 +0200 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 [...]
Sat, 13 Sep 2008 20:02:51 +0200 has_many :through limitations
Wed, 10 Sep 2008 17:54:16 +0200 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” [...]
Wed, 20 Aug 2008 18:46:02 +0200 I used to be a fan of the has_finder gem written by Nick Kallen.
Now with Rails 2.1, 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 [...]
Mon, 26 May 2008 23:17:40 +0200 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 [...]
Fri, 23 May 2008 02:11:03 +0200 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 [...]
Thu, 24 Apr 2008 16:36:38 +0200 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 [...]
|
|
contact |