Author Archives: Rob Nichols

Using TempObject with a search form

Here is how I use TempObject with a search form. I’ll use an example of creating a form to return balls. In the controller I first create a TempObject with the attributes I want to offer in the search form: … Continue reading

Posted in Ruby | Comments Off on Using TempObject with a search form

Temp Object

I found creating search forms in Rails a little awkward because most of the built in Rails form elements expect to work with attributes of an object, whereas for a search form I just needed to pass a set of … Continue reading

Posted in Ruby | Comments Off on Temp Object

A tale of two vomits

When I was first training to become a Community First Responder (CFR), my main worry was that I would not be able to handle a patient being physically sick. The first time I had to deal with such a situation … Continue reading

Posted in Community First Responder | Comments Off on A tale of two vomits

Using a shared location for common code

I am a book lover, and have built up a lot of my Ruby and Rails knowledge from an ever expanding collection of books. No matter how big or small, most give me some new information or way of dealing … Continue reading

Posted in Ruby | Comments Off on Using a shared location for common code

A new blog!

I thought it about time I started my own blog, as the ramblings of another bearded buffoon, is just what the Internet needs. Mainly I hope it will let me flesh out my Ruby and Rails notes that I’ve previously … Continue reading

Posted in Blog | Comments Off on A new blog!