module PgSearch::Compatibility::ActiveRecord3

def pg_search_rank

def pg_search_rank
  read_attribute(:pg_search_rank).to_f
end