view test/exemplars/news_exemplar.rb @ 1168:4d1a31b30987 cannam

Remove nil projects before sorting
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Mon, 21 Jan 2013 15:48:48 +0000
parents cbb26bc654de
children
line wrap: on
line source
class News < ActiveRecord::Base
  generator_for :title, :start => 'A New Item'
  generator_for :description, :start => 'Some content here'

end