Ruby on Rails
Adding Authorization Using Devise
February 28th, 2011
This will cover how to use Devise as your user authentication system. In previous posts I've used AuthLogic which is a good solution, I just find Devise simpler to use and implement. This will extend from my article Rails 3 Blog Tutorial. I'd highly suggest going through that tutorial, or you can run these commands.
Rails 3 Blog Tutorial
February 20th, 2011
Every wonder how to easily roll your own blog? This series will take you through the ins and outs of writing your own blog using Ruby On Rails 3.
Custom Date Formatting in Ruby on Rails
October 22nd, 2010
Ruby on Rails offers a couple different standardized date formats which can be really helpful. I'm personally a huge fan of :db, I hate looking it up all the time. But you may be wondering how to create a custom date format.
Setup Double Foreign Keys
October 21st, 2010
This is how to create a model relationship in Ruby on Rails where one model, Message, has two foreign keys to another model, User. The sql tables are defined below, and is given the solution in Ruby and how to retrieve the values.
How to Build Forums in Rails 3
October 20th, 2010
A short tutorial for rails 3, which covers the development of a forum. This tutorial requires little to no rails experience.
How to Setup AuthLogic In Rails 3
October 6th, 2010
I was trying to figure out to setup AuthLogic in Rails 3 and ran into several issues. This is a step by step guide in setting it up.