annotate .svn/pristine/6d/6d8b57d3f9af4fafe2fd6cde3312b234c4375e61.svn-base @ 947:be4106d14a35 bibplugin_bibtex

Parses a pasted bibtex entry and correctly adds its fields *except* the author names/institutions. Todo: Parse the author names/institutions and show the errors (flashing on the top of the page).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 18 Jul 2012 16:57:54 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 class Message < ActiveRecord::Base
Chris@909 2 generator_for :subject, :start => 'A Message'
Chris@909 3 generator_for :content, :start => 'Some content here'
Chris@909 4 generator_for :board, :method => :generate_board
Chris@909 5
Chris@909 6 def self.generate_board
Chris@909 7 Board.generate!
Chris@909 8 end
Chris@909 9 end