Ship It! LIVEShip It! LIVE
home about services writing contact

We develop, test, and create fine software products, and design creative solutions to your problems.
The development of software is an intrinsically creative process. We are dedicated to improving our mastery of the art.
Links · RSS Feed
Popular Pages

With much code, all eyes are shallow
-Jared Richardson
...Much like the Mac, this book “just works”, because it takes the best from lessons learned from team leaders and team players and takes the mystery out of the project management processes as appl...
-Robert Pritchett
Jared Richardson’s talk titled “Build Teams, not Products,” in particular, was one of the best presentations I’ve ever witnessed. It was just one of those talks where all the points seem tautologic...
-Yev Bronshteyn

Get It! (May 31)
First there was Ship It! to help you get software out the door.

Then came Release It!, an incredible book on the enterprise space.

Now, finally, you can also get Manage It!.

If this keeps up, we're going to need a new combo pack from the guys at Pragmatic Publishing just so you can buy all three at once! :)

Category: Misc

Changes to Ship It! LIVE Early Bird Dates (May 31)
I hope this doesn't inconvenience anyone but we had to move the early bird discount end date to June 29th for logistical and planning reasons.

Ship It! LIVE: DC Edition

See you there!

Category: Agile

New Version of the Cruise Control Configuration Tool (May 31)
One of the good things about traveling is getting to meet people face to face that you have known from email in the past. Allan Wick and I have interacted on the Cruise Control mailing list before, but I never got to meet him until I went to the Wisconsin Java User's Group (courtesy of Northern Wisonsin Software Symposium).

He told me that he was releasing a new version the GUI configuration tool for Cruise Control. He's also done a lot to improve the docs on the project. If you haven't taken the time to try out the GUI config tool before, this would be a great time.

CruiseControl Config home page.

Category: Java

Problems with RJS (May 30)
I've had this problem repeatedly with RJS, and I'm not saying it's not something that I'm doing... in fact, if I had to take a bet on whether the problem is in my code or the RJS code, I'd bet it's my code. :)

Never the less, I've seen several pages online where this has been an issue for other people and it keeps coming back to haunt me, so here's my fix.

When you're using RJS to do JavaScript magic and you add something simple like

page.replace "main", :partial => "update_student"

and the JavaScript just shows up on the page you're trying to update, then you've found this issue. You see something like this in the browser:

try {
Element.replace("main", "
\r\n

\r\n Your updates have been recorded\r\n

\r\n
"); } catch (e) { alert('RJS error:\n\n' + e.toString()); alert('Element.replace(\"main\", \"
\\r\\n

\\r\\n Your updates have been recorded\\r\\n

\\r\\n
\");'); throw e }

The problem is that the RJS libraries didn't include the SCRIPT tag. I think it gets confused and thinks the tag is already in place.

The fix is pretty simple... add the SCRIPT tag. In RJS you can always add raw JavaScript to the page with the

 << 
operator. So I changed the RJS template above to read like this:


page << ' <SCRIPT type="text/javascript">'
page.replace "main", :partial => "update_student"
page << ' </SCRIPT>'

And it all works the way I think it should... which is to say, maybe not quite the way the authors intended for it to be used, but it seems to be working for me so far....

So, if you're using RJS and the JavaScript shows up on the page, just add an opening and closing set of SCRIPT tags before and after the RJS call in question.

Category: Rails

The Agile Experience in San Jose (May 30)
I'll be traveling to San Jose in July to participate in The Agile Experience. The slate of speakers looks great and I'm expecting to have a great time.

I suspect this is going to be one of those conferences where you're annoyed that you're speaking because you're missing great content in the next room. And when you're not speaking, there are multiple talks you want to attend at the same time. :) It's a good problem to have.

Early bird registration ends on June 25th, so if you haven't registered, don't wait.

Category: Agile

Previous page Next page


© 2007 Agile Artisans.