How could one modularlize a group of filters to be used in many models? I 
like to avoid this (again, I am doing this in many models):

class Something
  before_filter :a
  before_filter :b
  after_filter :c
end


and instead, just be able to do this (something like it)

class Something
  ....
end


Is this solvable through inheritance?


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/034o-mqwHkMJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to