Postings
rails
Jun 02, 2007
template info helper
Here's a neat little helper you might like which displays the name of the current template file and other information, especially for development and debugging.
rails
May 31, 2007
Using Rspec on Controllers
Here's a simple example of using Rspec with a controller.
rails
May 29, 2007
Rspec 1.0 and Restful Authentication
Here are specs for the restful_authentication plugin that work with Rspec on Rails 1.03
rails
May 04, 2007
Authorization in Rails
Here's a review of several authorization add-on's for Rails. Whereas "authentication" refers to managing user login credentials, "authorization" is about managing role-based permissions to access specific areas of your site. [May 15, added Super Simple Authorization to the list]
rails
Apr 29, 2007
When to use 'has one'
Why/when would you use has_one versus extend the model with more fields?
rails
Apr 15, 2007
Micro-CMS: Page Content using Model Methods
Often a page needs to contain a list of items maintained in a different model. This little enhancement to our Micro-CMS facilitates these content pages with minimal effort.
rails
Apr 15, 2007
Enhancements to Micro-CMS
Here's some enhancements to my Micro-CMS tutorial, including adding an HTML editor (TinyMCE), authentication (with acts_as_authenticated), and email notifications.



