add ransack

refactoring

refactoring
Merge pull request #2 from surrexi/br1

add ransack