public
Description: An example of using presenters and cells in Ruby on Rails application
Homepage: http://kpumuk.info/ruby-on-rails/simplifying-your-ruby-on-rails-code/
Clone URL: git://github.com/kpumuk/presenter-example.git
kpumuk (author)
Tue Sep 08 04:31:10 -0700 2009
commit  0a7ee4dae94cd45415456943bc9c56a4dab2cdae
tree    eecfa4b6af14f94e9bb357e05fe942007ed33071
README.rdoc

Presenter Example

This is a sample application for my article about Ruby on Rails application simplifying:

kpumuk.info/ruby-on-rails/simplifying-your-ruby-on-rails-code-presenter-pattern-cells-plugin

Check this article to get an idea what’s going on.

Setup and test data

First you need to create and migrate the database:

  rake db:create
  rake db:migrate

There are two rake tasks to load test data:

  rake data:videos
  rake data:categories