another try at social quoting using ruby on rails