replaced acts_as_indexed with custom sql queries
replaced acts_as_indexed with custom sql queries
added gems