Archive for the 'ruby' Category
Monday, December 29th, 2008
Everybody’s talking about it. Couple of days in jail, whole town changes, etc.
There are two camps over this currently: the Rails side(”Whoo! Chocolate in my peanut-butter! Less magic and plugins that don’t explode randomly between versions!”), and the Merb side(”DHH is going to defenestrate us all! They won’t taste great! These books from the tech [...]
Posted in development, geek, musing, rails, ruby, serious business | No Comments »
Tuesday, November 25th, 2008
In Rails, one form helper(well, besides a broken date_select) stands alone as cruel, sadistic, and impossible-to-please with just a simple hash. That form helper’s name: option_groups_from_collection_for_select.
It’s so painful that most people would re-implement it, rather than fall victim to its NoMethodError wails. But that’s not the path for us. When you’re using something like Base [...]
Posted in development, rails, ruby, tip | 1 Comment »
Sunday, November 23rd, 2008
Echo-chamber-driven Internet Drama on the rise in the Ruby community. Again.
Giles Bowkett:
original, followup, self-flagellation
_why’s sum-up and thoughts.
Zed’s response to _why’s mention.
_why fires back.
Can we skip this and go straight to the Yo Momma Fight? Loser gets Force-chucked into experts-exchange.com!
Posted in feh, ruby, serious business | No Comments »
Thursday, September 4th, 2008
Builder is a neat piece of kit but, like most sane libraries, wasn’t designed around the brain-damage that is Business-dialect XML(chock full of custom namespaces and tags devoted solely to attributes).
Builder’s docs seem to imply that a namespaced tag always needs to be in block form:
xml.bqcm :UselessMetadata {|n| n”chimney”}, “flue”)
“I still want to send my [...]
Posted in development, rails, ruby, tip | No Comments »
Sunday, June 15th, 2008
Last time, I was complaining about rSpec refusing to play nice with the TextMate plugin. I owe the team an apology(in the unlikelihood event of them actually reading the entry), as getting it working is a bit confusing.
On my systems, the TM plugin would insist that I had an ancient rails/rubygems version, and to try [...]
Posted in development, rails, ruby, test, work | No Comments »
Tuesday, April 15th, 2008
god is my newest favorite tool for server and Rails monitoring, not to mention the entertaining conversations it can produce(”God was spanking the mongrels repeatedly, without letting them fully start”, “god spammed my mailbox with over 700 emails this weekend”, “I’m killing god right now, it should be back in a minute”). One of the [...]
Posted in administration, deployment, rails, ruby, server, tip, work | No Comments »
Monday, March 31st, 2008
So after wasting spending a few days checking out other test frameworks for Ruby/Rails, I’ve come up with this:
Rspec:
The Textmate plugin is barely useable; it appears to have a completely different manner of loading files versus the standard spec command(placing a spec file next to its target and doing a simple ‘require’ worked for the [...]
Posted in Uncategorized, development, feh, geek, musing, rails, ruby, test | 2 Comments »