Kuroko Project
face it straight

Archive for the 'rails' Category

Builder, indentation, and namespaces

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 [...]

it “should insert foot in mouth” do … end

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 [...]

God, sphinx, and you

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 [...]

testing to irritation

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 [...]

sittin’ calm after pres butan

Tuesday, March 11th, 2008

Last Monday, the Rails pseudo-content-management-system that I’ve been working on for the past nine months went live at the Yakima Herald.com, replacing a 4-year old system that ezmobius designed as his first Rails project.
This one’s brand-spankin’ new: Rails 2.0 from the get-go, fairly proper REST(where possible), using a dedicated SQL database, adherence to clean design(again, [...]

Shells at 30,000 Feet

Wednesday, November 28th, 2007

One of the things I’ve noticed is that most OSX hints for setting up anything in *nix-land tell you to add path statements just to ~/.bash_profile, usually assuming that you’re working on your own machine. But if you’re ssh’ing to another OSX(or -nix based) and set up the path in the same way, this will [...]