Module problems

I’m new at Ruby/Rails, so must have missed something obvious.

I’m trying to use the module “sortable_column_headers”, which I obtained
from https://svn.elctech.com/svn/public/sortable_column_headers/. When
I try to load a view that uses this module, I get the following error.
The line with “before_filter” is this:

    before_filter :init_sortable_column_headers

I’m running ruby 1.8.4.

----- error dump begins -----
NoMethodError

undefined method `before_filter’ for Assignment:Class

RAILS_ROOT: script/…/config/…

vendor/rails/activerecord/lib/active_record/base.rb:1129:in
method_missing' vendor/plugins/sortable_column_headers/lib/sortable_column_headers.rb:9:in included’
vendor/plugins/sortable_column_headers/lib/sortable_column_headers.rb:7:in
`included’
#{RAILS_ROOT}/app/models/assignment.rb:2
app/controllers/assignment_controller.rb:5

This error occured while loading the following files:
script/…/config/…/app/controllers/assignment_controller.rb
assignment.rb

Request

flash: !map:ActionController::Flash::FlashHash {}

Response

Headers: {“cookie”=>[], “Cache-Control”=>“no-cache”}
----- error dump ends -----

Welcome. You’ll have more luck with rails questions here:

Many of us here don’t use rails, as this in a general ruby language
mailing list. But good luck!

Dan