Simple Search Rails plugin

SimpleSearch brings simple search to ActiveRecord. It ads simple_search named scope that accepts query as parameter.

The idea is that you provide the query and plugin does the rest (splits query to keywords and compose where statement).

This can be very useful in case you just want to filter list of records by some query, you have autocomplete field, … or something similar.

Continue reading “Simple Search Rails plugin”

Advertisements

Flood

My neighbourhood was hit by flood today. We managed to prevent the water from entering the house, but it was a great reminder how powerful mother nature really is 🙂

Continue reading “Flood”