Thursday, November 8, 2012

Rails - before_filter method parameter

before_filter { |c| c.some_method(some_parameter) }

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.