That's pretty cool.
I actually just happened to need the number_to_currency action.
Thanks.
And I was thinking Liquid was all outdated and stuff. Niceness!
Thanks so much for posting this! I'd been looking for something like it for quite sometime. :) You're a hero.
Thanks Ryan, this gives me a head-start for the templating system in a SaaS project.
Hey Ryan, your product names are a little strange! What happened?
[code:ruby]def thanks
puts "Thanks Ryan"
end[/code]
@leethal, Liquid is pretty old, but AFAIK it's still the best at what it does. If anyone knows of alternatives I'd love to hear.
@Matthijs, they're just words from the filler text "lorem ipsum". I got tired of thinking up good names. ;)
I can't tell you how much I look forward to every monday. I am subscribing to your pragmatic screencasts, and I get them as soon as they come out as well. Thank you for the discipline and the excellence that you have defined in your work.
Thanks for the cool screencast on Liquid.Will be looking foward for more screencast in liquid especially on how to use common layouts in liquid templates!
Ryan, what about 2 episodes per week? :P
Bryan,
appart from the fact that it might be the only one doing what Liquid does... it is to my knowledge the only templating language being used on a site where the users can change their own look and feel using it (which says a lot about how safe it is).
Thanks for tutorial. I recently wrote <a href="http://emmanueloga.wordpress.com/2008/07/26/liquid-coolness/">a blog post</a> about liquid internals, I hope you guys may find it useful.
Greets!
I see how you added custom filters, but what about custom tags? I tried creating a file in libs containing
module LiquidTags
class X < Liquid::Tags
end
end
but that didn't seem to be the right way to do it. What seems to work is freezing the gem and putting a new file in 'vendor/liquid-x.x.x/lib/liquid/tags'
I don't like doing it that way, but is that the best way to do it?
Hi Ryan,
first of all 'Thank you for these amazing screencasts'!
You asking for alternatives in one of the previous posts. Have you heard from HAML http://haml.hamptoncatlin.com/ ? Is it an alternativ to Liquid for you? In my opinion it has some interesting approachs.
I second that #13. I have yet to find anything on how to use liquid tags. Anyone out there that has a clue?


