find_filter now missing in edge rails

1 view
Skip to first unread message

Jason Lee

unread,
Apr 6, 2008, 9:33:29 AM4/6/08
to resources_controller
With RC and rails edge I'm getting

undefined method `find_filter'
vendor/plugins/resources_controller/lib/ardes/resources_controller.rb:
454:in `resources_controller_for'

looks like find_filter recently disappeared...

http://dev.rubyonrails.org/changeset/9055

here's what I've done to vendor/plugins/resources_controller/lib/ardes/
resources_controller.rb:454

- before_filter(:load_enclosing_resources, when_options) unless
find_filter(:load_enclosing_resources)
+ before_filter(:load_enclosing_resources, when_options) unless
filter_chain.map(&:method).include?(:load_enclosing_resources)

but I suspect something more substantial is required to match the
updated rails code?

Jason.

Ian White

unread,
Apr 7, 2008, 4:24:04 AM4/7/08
to resources_...@googlegroups.com
Thanks for the heads up, and work on this, Jason.

Investigating...


--
Argument from Design--We build web applications
Western House 239 Western Road Sheffield S10 1LE UK
Mobile: +44 (0)797 4678409 | Office: +44 (0)114 2667712
<http://www.ardes.com/> | <http://blog.ardes.com/ian>

Reply all
Reply to author
Forward
0 new messages