I have a Ruby array, how can i render this as a JSON view in Rails 3.0?
My Controller method is
def autocomplete @question = Question.all end