Per page meta data for better SEO

Hi,

How do you handle the generation of your specific and tags on each of your pages?

I want them to be specific to each page, but I can’t think of a nice and
clean way to do that. Currently in each action I set 2 variables @title
and @description, and in my view I simply call <%= @title
%>

But this code shouldn’t be cluttering my controllers, and is hard to
maintain.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs