annotate test/exemplars/news_exemplar.rb @ 976:0befb332f41a get_statistics

get stats up to current date
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 25 Oct 2012 13:50:45 +0100
parents cbb26bc654de
children
rev   line source
Chris@0 1 class News < ActiveRecord::Base
Chris@909 2 generator_for :title, :start => 'A New Item'
Chris@909 3 generator_for :description, :start => 'Some content here'
Chris@0 4
Chris@0 5 end