RubyFlow The Ruby and Rails community linklog

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