Rails Reservation Calendar plugin

Posted On January 11, 2010

Filed under Rails plugin
Tags: , , , , ,

Comments Dropped 9 responses

As Jon mentioned in the last blog posting, we’ve been hard at work on a couple of projects and I am happy to announce the unveiling of our reservation calendar plugin for Ruby on Rails.  It can be found here: http://github.com/broughten/reservation_calendar.

An example of what it looks like in our other “secret” project:

This plugin builds on the ideas and HTML generation outlined in http://dev.elevationblog.com/2009/07/23/event-calendar-rails-plugin/ but differs in the underlying model(s) that drive the plugin.  The original plugin used one model that had a start and end date on the model in question.  This modeling did not allow for breaks between the start and end date.  Our new plugin revises this idea and uses two models to hold the data: a parent model that represents a reservation (instead of an event) and a child model that represents one of possibly many, non-contiguous dates for this reservation.

If you want to get up and running quickly, you can check out the test application that we’ve put together http://github.com/broughten/reservation_calendar_test_app to see how all of the moving parts work together.


Why do I enjoy working for myself so much?

Posted On December 2, 2009

Filed under philosophy
Tags: , ,

Comments Dropped leave a response

While sitting on my meditation cushion this morning this very question crossed my mind.  Like a “good” meditator, I  let it roll thought my consciousness and not get too attached to it.  A little while longer here it comes again.  I took this as a sign that it might be time to chew this over so I did.  This blog posting is the result of that analysis. (Read More)

What do test first development and dental floss have in common?

Posted On November 3, 2009

Filed under Testing
Tags: , , , ,

Comments Dropped leave a response

Yes I am going to write another blog posting singing the praises of test first development (be it TDD, BDD or whatever DD is cool now).  What will be new is that I’m going to compare it to something that I avoided doing for almost 36 years on this planet, flossing my teeth regularly.

(Read More)