New Grails plugin – Timestamped

June 3, 2013 at 09:46

A Grails plugin to inject the auto-timestamp properties using a configurable, joda-time compatible AST transform that can be used both by a project and by other plugins.

Grails – small and simple method to convert objects to JSON

January 12, 2013 at 11:03

I was playing around with Grails and JSON and came up with a small method to convert a given collection of objects into JSON (typically, domain class objects, but it would work with anything). It’s nothing new or fancy, but maybe usefull for anybody who is starting to explore Grails […]

Grails – generic methods for equals and hashCode calculation

December 27, 2012 at 23:11

In modern versions of Grails, you can use the Groovy annotation EqualsAndHashCode for generating the equals and hashCode methods of your domain classes using an AST transformation, but if you are in any 1.x.x Grails version (that uses a Groovy version prior to 1.8.0), you won’t be able to use […]

Grails Puppet module

November 13, 2012 at 15:31

A Grails puppet module made by OSOCO, that allows you to install diferent Grails versions in a puppet node. Has been tested with Debian and Gentoo, so it should work with Ubuntu as well, and has it source code available in Github (so it’s free software).

Android GCM Sender

November 12, 2012 at 10:46

Android GCM Sender, a webapp that allows you to send configurable push notifications to your Android devices. Developed in Grails using the Grails Android GCM plugin and Ajaxify, and hosted in Heroku.

Grails – how to see what objets are in Hibernate session

November 5, 2012 at 19:52

Sometimes, when your Grails controllers and services relationships get complex and you do bad stuff (even without explicitly doing it! you gotta love all this magic 😆 ), Hibernate throws you lovely exceptions like the following (this is one of the most common, but there are more of them): org.hibernate.TransientObjectException: […]

Grails Android GCM Plugin

October 31, 2012 at 13:27

Grails Android GCM Plugin: send push notifications to Android devices in your Grails app

Homebrew for Mac Os X: cambiar entre distintas versiones de una instalación

April 7, 2011 at 17:29

Uso Homebrew en Mac Os X para instalar algunas utilidades típicas de Unix sin mucho dolor. Grails se encuentra entre ellas. Sin embargo, no he visto una manera de cambiar entre las distintas versiones instaladas. Seguro que hay formas más elegantes de hacerlo (incluso puede que esté soportado nativamente, Dios […]