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”
Tomislav Car has just released Phone, Ruby library for phone number parsing, validation and formatting. It should save you a lot of time if you need any of the following:
* you have area where users input phone numbers in many different formats
* output phone numbers in specific format
* you need to send SMS messages from your app
Continue reading “Ruby library for parsing, validating and formatting phone numbers”