Tag Archive | "Rails"

Sending emails using Sendgrid

July 28, 2010 2 comments

Sending emails is an essential part of every web application. Setting up an email server isn’t to difficult, getting the emails to recipient without getting marked as “spam” is. Using Sendgrid solves both problems for you and offers other features too. However, I don’t care much for a rich feature set, for me it is [...]

Resque Jobs automatically require Rails environment and Lib Classes

July 26, 2010 No comments yet

Like I mentioned in my last article, I currently use Redis/Resque quite a bit. The installation of Redis isn’t really a challenge and Resque isn’t more than a requirement in the Gemfile. However, I often forget that when I start a Resque worker, it doesn’t have access to the Environment/Lib files per default. A “class [...]

Rake task for quitting Resque workers

July 22, 2010 No comments yet

I have been using Redis/Resque for some time now. Recently, I needed a Rake task to quit all running Resque workers for deploying an application via Continuous Integration using Hudson builds. Here is with what I came up with: Just place it in a rake file under the “lib/tasks” directory and you are good to [...]

RailsConf 2010 Roundup (Rails 3.0 RC, Rails 3.1 Outlook and some more awesomeness)

June 10, 2010 No comments yet

No I am not at the RailsConf, but unless other conferences, it is possible to follow presentations pretty closely (almost live). So here a little summary of what I gathered from digging through presentations pdfs, watching keynotes, and following tweets: Rails 3 is finished (nearly) In his keynote DHH said Rails 3 is finished. With [...]

Routes in Rails 3

April 1, 2010 No comments yet

Rails 3 comes with some great new features and updates. One of them is a new DSL to describe routes. The DSL changed  quite a bit to Rails 2.0; in a good way. To get you started here some good sources about Routes in Rails 3: Rizwan Rez from EngineYard Railscasts Routing in Rails 3 [...]