I was thinking of an easy way to backup the wp-content directory of my two blogs (the other one being Una Cerveza Al Día 😀 ) and Dropbox came to my mind: my space requirements are very modest, even for the beer blog with its one-picture-per-entry basis (after 4 years […]
Grails automatic databinding is super powerful, but, at least in versions 2.2.x and below, is rather obscure and not very-well documented. Sometimes is not clear how a form input should be named depending on what you want to bind. An example, for a given domain class User and a property […]
An explanation on why, when using Grails, you might get the error “groovy.lang.MissingPropertyException: No such property: id for class: org.codehaus.groovy.grails.web.taglib.NamespacedTagDispatcher” when rendering a view or a template
I recently decided to give fish shell a try. I’ve always been reluctant to change my shell: bash has certainly its flaws, but it is widely spread. But lately I’m trying to go easier on embracing new things, since my natural approach is to be (extremely) skeptical about them (although […]
How to discover which beans are available in Grails at runtime, and how to see the configuration of any of them.
Grails gives the possibility of creating simple key/value map properties as a Map of String to String, but the documentation doesn’t show how to query by this type of properties.
This post illustrates how to query the domain class using the map property as part of the query (i.e adding a condition for the key X to have the value Y) using HQL.
Solution to the Grails problem when a domain class claims to have an abstract class as an effective class (i.e using getClass() and domainClass.class returns an abstract class) by removing the Hibernate proxy of that certain instance
Aunque en Europa no es especialmente conocido (al menos que yo sepa, igual es sólo en España o que yo vivo en una burbuja, que también puede ser 😀 ), John Mayer parece que es toda una celebridad en USA. Yo, para variar, lo conocí por recomendación de mi hermano […]