Citero Renderers
Renderers for Citero for Rails 3, 4. This gem is based entirely off of beerlington's wonderful csv_renderer.
How to use
You can have it render the format with a responds with action. You must have something like this in your controller.
class TestController < ApplicationController
respond_to :ris, :bibtex, :json
def test
rec = Record.create(:data => "itemType: book", :format => "csf")
arr = Array.new
arr << rec
respond_with(arr)
end
end
RAILS 4.2
In Rails 4.2, you have to include the responders gem if you want to use respond_with
.