Fix undefined local variable or method `search'
Merge pull request #27 from mavcunha/master

Fix undefined local variable or method `search'