RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Metaprogramming in Radiant to solve a simple problem

I wrote about some simple metaprogramming in Radiant to solve an annoying problem of not being able to use custom tags in different contexts. Radiant includes custom tags in the Page model, and a popular option for managing stylesheets and javascripts prevents you from using these same custom tags in them. A few simple lines changes that.

Comments

The links is down!

Sorry about that. I left out the http somehow. Link is fixed.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in