Justin Lilly successfully answered Adam Thorsen's question:

Is it possible to write helpers for layouts? If so, how is it done?

People succeed in answering Adam Thorsen's questions 46% of the time (24 successes in 52 attempts).

Answers by: Justin Lilly

Justin Lilly's Answer:

Reply by Justin Lilly 892 days ago

Each controller has its own helper. the Book controller has book_helper.rb.

What you'll need to edit is application_helper.rb which allows the functions to be available application wide (ie: in your views).

Hope it helps,

-justin

Reply by Adam Thorsen 892 days ago

Ok. I'll give that a try and see if it works. Thought I tried it, but I was trying a lot of things so I'll try it again.