watch on iTunes
follow on Twitter
follow on Facebook
subscribe to RSS feed
RailsCasts Pro episodes are now free!
Custom Helper Modules
Jul 30, 2007 | 5 minutes |
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.
Click to Play Video ▶
Full Size H.264 Video (11.9 MB)
Smaller H.264 Video (6.51 MB)
Full Size VP8 Video (17.8 MB)
Full Size Theora Video (15.9 MB)
Next Episode >
< Previous Episode
Apr 20, 2013
Handling Exceptions (revised)
By default, Rails will render a static error file when an exception occurs in production. Here you will learn how to fully customize this behavior and render dynamic error pages.
Mar 27, 2013
Learn how to add performance tests that automate benchmark and profile reports. Here I show how to find the bottlenecks to optimize a page. I also show how to compile Ruby with gcdata to get information about memory usage.
Mar 09, 2013
Active Model Serializers
The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output.
Feb 03, 2013
Custom App Generators (revised)
Learn how to customize the Rails app generator to fit your preference. This episode shows how to do this using .railsrc file, app templates, app builders, RailsWizard, and AppScrolls.
Jan 27, 2013
Learn how to add fields to a form dynamically using another form, complete with custom field types. It's fieldception!
©2023 RailsCasts -