Category Archives: Rails

Providing Unauthenticated API Access To An Authenticated/Authorized Controller In Rails 3, With Devise And CanCan

My current Ruby on Rails app defaults to every page and controller action in the system requiring authentication. If you’re not logged in, you don’t get to do anything other than see the login page. Once you are logged in, … Continue reading 

Also posted in Rant | 4 Comments

A question for Rubyists

I was checking out this post from Derick Bailey today, and something struck me rather odd.  Not the “DI only enables testability” argument, but the ruby code: class Foo    def bar     baz =     baz.do_something   end end I’ve been very … Continue reading 

Also posted in C# | 26 Comments

RVM, Bash Scripting and Rails 3 Edge

I’ve only begun to tap into the power of bash scripting, but I had a need to automate setting up a Rails 3 app on edge, using RVM like I want.  So I decided to whip up a very simple … Continue reading 

Also posted in Misc, Tools | Leave a comment

OSX Terminal Automation

My OSX Terminal Environment (as of today) Some of this might be old hat for a lot of you, but maybe this will help at least a few people.  I’m a pretty big automation addict.  During my Ruby on Rails … Continue reading 

Also posted in NBehave | Leave a comment


For a long time now I’ve been known as “joeyDotNet”. Of course I’ll never make the mistake tying my name to a particular technology like that again. Especially given some of the recent changes I’ve made in my career. For … Continue reading 

Also posted in ASPdotNET | Leave a comment

The Ruby/Rails Life – My Rails 3 Stack – Part 2

Rails Deployment & Testing There are some really nice tools available for deployment and testing rails. Below is a brief description of some of the ones I’ve been using with success. Capistrano I remember in the early days of my … Continue reading 

Also posted in LegacyCode | Leave a comment

The Ruby/Rails Life – My Rails 3 Stack – Part 1

As some of you might know, About a month ago I left my almost 10 year career as a Microsoft developer to become an independent Ruby/Rails developer (a term I’m deeming “pulling a Gunderloy”). It was long overdue for me … Continue reading 

Also posted in Tools | Leave a comment

Setting up Ubuntu Jaunty for Ruby and Rails development

Getting Ruby setup on Ubuntu – Jaunty UPDATED: Added RSpec for Rails as well Here are some quick steps to get you up and running with Ruby on Ubuntu, Take about 15 minutes depending on your internet connection. Step 1: … Continue reading 

Also posted in Agile | 1 Comment

Rails notes, from the .NET side

I’m starting a small experiment to try out Rails, and I’m keeping notes as I go.  From the first day, here’s what I have so far: Rails easy to install First MySQL (easy) Ruby, another MSI and go Rails – … Continue reading 


Introducing ActiveSupport.NET

To my surprise, none of my googling seemed to come up with anyone doing this.  So I figured I’d start it off (please let me know if you know of any other efforts already underway).  As some would say, taking … Continue reading 

Also posted in C#, Patterns, Refactoring | Leave a comment