Showing 4 videos tagged with helper

Railscast - Episode 64: Custom Helper Modules

00:05:06 railscasts.com
Rails designates one helper module per controller, but that shouldn't stop you from making custom helper modules to help structure the code. Learn how in this episode.

Railscast - Episode 69: Markaby in Helper

00:06:29 railscasts.com
Do you ever need to generate HTML code in a helper method? Placing it directly in Ruby strings is not very pretty. Learn a great way to generate HTML through Markaby in this episode.

Railscast - Episode 101: Refactoring Out Helper Object

00:07:25 railscasts.com
If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode.

Railscast - Episode 132: Helpers Outside Views

00:06:14 railscasts.com
Have you ever wanted to access helper methods outside of the view layer? In this episode I show you a couple ways to do just that.