```ruby
class InformationController < ApplicationController
  def data
    data = Information.data

    respond_to do |format|
      format.json { render json: data }
    end
  end
end
```

Use respond_with_json on information controller
user
```ruby
class InformationController < ApplicationController
  def data
    respond_with_json Information.data
  end
end
```
assistant