http://net.tutsplus.com/tutorials/ruby/gem-creation-with-bundler/
Tag: Rails (Page 1 of 4)
Articles, tips, and resources for Rails-based development.
When it comes to integrating MailChimp into Rails applications, Hominid is my gem of choice. It’s implementation is relatively straightforward and it stays true to the MailChimp API.
I rarely have issues with it, but I recently needed to funnel users into specific groups which were part of a list and hit a bit of snag with the merge vars parameter of the listSubscribe function. Continue reading
http://erik.debill.org/2011/12/04/rake-for-rails-developers
A few weeks ago, I was contracted to build a custom web application to help with source, storing, and managing photographs.
Specifically, the application needed to allow a user to search for photos using the Flickr API, store a variety of information about the photo, and then provide a few ways to retrieve the photos and the associated data for later use.
Though I can’t speak to too much detail about the application, I thought I’d share a few notes on the development stack I used as well as some of the features of the application.
I’ve been finishing up an application that has a number of custom controller actions. All except one action – the approved action – require user authorization before retrieving any information from the database.
Specifically, I wanted to authentication the administrator for all actions except the approved action for both JSON and XML responses (but not HTML responses).
Here’s how to do it in Rails 3: