searching using active_record scope
Merge pull request #1 from jana4u/master

searching using active_record scope