Posts
All the articles I've posted.
-
Using Tag Lib Within Controllers and Services
So let’s say you want to utilize the standard grails tag lib of formatNumber within your domain class, controller or service. How would you go …
-
Using Criteria Builder With Projections
Something I had to dig around for today was how to perform a sum on a table using Criteria Builder. It seems that it is treated a bit different than …
-
Multi-Line Rails Logger Trick
One thing that I like to do with my logger output is allow for multi-line output. It makes it much easier to read and keeps my code cleaner. Instead …
-
Using Multiple SMTP Accounts With Rails & ActionMailer
Recently I ran into a problem where I needed to be able to send emails via two different SMTP accounts within the same Rails application. I scoured …