Crummy New Feature: Symbol Argument

I have just added a feature to Crummy where you can give an argument of a symbol which is then translated to get the instance variable and evaluated like so:


before_filter :load_comment
add_crumb :comment # => add_crumb(@comment.to_s, comment_path(@comment.to_param))

0 Responses to “Crummy New Feature: Symbol Argument”


  1. No Comments

Leave a Reply