app/models/bibliography.rb
def render(format = 'html')
    cp = CiteProc::Processor.new style: 'chicago-author-date', format: format
    cp.import bibliography.to_citeproc
    cp.bibliography.join
  end
# Renders a *sorted* bibliography
Renders a *sorted* bibliography
Renders a * sorted * bibliography
def render(format = 'html')
    cp = CiteProc::Processor.new style: 'chicago-author-date', format: format
    cp.import bibliography.to_citeproc
    cp.bibliography.join
  end
def render ( format = 'html' ) cp = CiteProc :: Processor . new style : 'chicago-author-date' , format : format cp . import bibliography . to_citeproc cp . bibliography . join end
Renders a *sorted* bibliography
Renders a * sorted * bibliography
format