Developmentastic
-
View tweet
How does this work? The MP3 version of this album costs $0.50 MORE than a physical CD? http://cld.ly/40hwc Ridiculous.
-
View tweet
Tried writing a ci:build rake task, but couldn’t figure out how to run tasks in a different Rails environment with Rake::Task#invoke.
-
View tweet
Have to teach him the beauty of Ruby and TDD now before he’s lured to the dark side. http://bit.ly/qVIY6
-
View tweet
The MacRuby PeepCode was wildly informative. Learned a lot about MacRuby, XCode, Interface Builder, and basic Obj-C. http://bit.ly/A2Yo3
-
View tweet
jQuery Sanity Check: Nested lists: item.find(”>ol li”) finds ”>ol>li” instead of ALL descendant LIs. Bug or am I crazy? http://bit.ly/4zN646
-
View tweet
Playing around with I18N to translate the output of distanceoftimeinwords to a condensed format. http://gist.github.com/210974
-
View tweet
Got the chance to dig deeper with authlogic, formtastic, and inheritedresources this week. It’s a great time to be a Rails developer.
-
View tweet
@greggpollack If you need a designer who is great at AS3 and doing things programmatically, I don’t think it gets much better than @lukesh.
-
View tweet
Confirmation I married the right woman #10921:
Me: YES!
Trish: What? Did all your tests pass?
M: …no
T: What are you so happy about then? -
View tweet
I’m having a ton of fun with the Best Camera iPhone app. Not only is it a blast to use, the UI is gorgeous. http://bestc.am/zK2AU
-
Permalink
Cucumber Features In Subdirectories
I’m working on a project where we’ve amassed a decent amount of Cucumber features. Dumping them in the root directory makes it difficult to find the feature you’re looking for and running related features is impossible.
I’ve fooled with organizing my cucumber features in the past, but didn’t have much luck. Grouping related features into subdirectories was fine when running the entire suite, but running an individual feature failed because Cucumber doesn’t know to load step definitions from the parent directory. As I was looking through
cucumber --helpthe other day, I happened to notice the--requireflag.-r, --require LIBRARY|DIR Require files before executing the features.Running the following command was exactly what I needed.
cucumber --require features features/users/sign_in.featureThis tells Cucumber to load all
.rbfiles underfeatures/which will find the step definitions and support files. To save some typing, I created an alias in~/.bashrc.alias cuc='cucumber -r features'Where I’ve really enjoyed this setup is when running all related features. After touching a step definition, I’d like to run the features that depend on it quickly without running the entire suite. Now that’s as simple as:
cuc features/users/* -
View tweet
@AJAerni No worries. @rogieking was kind enough to add a link to me at the bottom of his contact page because he rocks.
-
View tweet
@AJAerni I didn’t create Komodomedia. That’s @rogieking’s baby.
-
View tweet
@rogieking You are too kind. Thank you, everyone who retweeted.
-
View tweet
Some geek sitting at the next table is impressing a girl with his Windows 7 piracy stories. Or at least giving it his best shot.
-
View tweet
Simple vim script to close the active buffer but keep the split open: http://gist.github.com/180716 Thanks, @djwhitt!
-
View tweet
Acer’s abomination of a support team is infuriating. With each message, a new support rep replies who clearly has not read the whole thread.
-
View tweet
I think @bignate would love this book: http://yfrog.com/0ugefoj
-
View tweet
A vote for HTTP 418 is a vote against Fail Whaling. http://bit.ly/2cTvb via @gotwalt
-
View tweet
@jnunemaker I used to rock dashes. Since switching to Ruby, I’ve been showering underscores with love. I use ‘em in Sass mixin names, too.