Displaying 1 result from an estimated 1 matches for "incense_authorization".
2007 Nov 20
3
Plugin: can't call before_filter in ApplicationController
...I have the following code:
class ApplicationController
before_filter :prepare_user
...
end
This worked without a prolem so far.
But when I try to start Webrick now, I get the following error:
josh$ script/server
=> Booting WEBrick...
/Users/josh/Sites/projects/psyguideorg/vendor/plugins/incense_authorization/lib/application_controller.rb:4:
undefined method `before_filter'' for ApplicationController:Class
(NoMethodError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_r...