Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A test in custom-made decorators

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Decorators Test

A minimal Decorator for Rails.

Relevant files are:

  • All under app/decorators
  • config/decorators.rb, which enables using ActionView helpers within decorators
  • The show action in app/controllers/shoes_controller.rb
  • app/views/shoes/show.html.erb, which demos how a decorator is used from within a view
Something went wrong with that request. Please try again.