Archive for the ‘grails’ Category

One week with WhenWorksForYou.com

Monday, July 13th, 2009

Last week I launched http://www.whenworksforyou.com, a new Grails website that lets you coordinate schedules with other people to find the best date for your next event. Our first week provided lots of great feedback from users. One of the biggest gripes was not being able to subscribe to ...

Grails, p6spy and Sql Profiler

Wednesday, June 17th, 2009

There are several ways to have Grails log SQL statements that Hibernate is sending to the database under the covers of GORM.  The first is the loggingSql flag in DataSource.groovy: loggingSql=true This will show you the prepared statement that Hibernate is generating, like this: select this_.id ...

Grails Code-Coverage plugin updated to run with Grails 1.1

Monday, January 12th, 2009

I've made some changes to the Grails code-coverage plugin to support Grails 1.1. If you're using Grails 1.1-beta2, you can try it out by running grails install-plugin code-coverage. Documentation can be found at http://www.grails.org/Test+Code+Coverage+Plugin

DevJam Presentation on Groovy/Grails

Saturday, January 10th, 2009

This past week I presented on Groovy/Grails to a group of developers here in Minneapolis. Afterwards we had a panel discussion (fishbowl style) and dove into a wide array of topics ranging from dynamic vs. static typed languages, when to consider using Groovy/Grails and when NOT to. It ...

Controller.$_closure1 – what? Oh, you mean .index()!

Thursday, November 20th, 2008

So it's been bugging me for a while that the action names within a controller always showed up like this on my code coverage reports: Well, no longer! Version 0.9 of the Grails Code Coverage plugin now does some post processing on the Cobertura reports that replace the Controller.$_closure1 ugliness ...