I just communicated with this not so long ago - if you want to better understand what it takes to extend regular filters (including helper methods that you might need), I found this Railscast very useful: http://railscasts.com/episodes/118 -liquid
, , , (), . , . lib LiquidFilters, , :
module LiquidFilters
include ActionView::Helpers::NumberHelper
def currency(price)
number_to_currency(price)
end
end
, , , , : filters = > [LiquidFilters] ( , ), . , - , .