Module: Waves::Helpers

Defined in:
lib/helpers/common.rb,
lib/helpers/form.rb,
lib/helpers/view.rb,
lib/helpers/model.rb,
lib/helpers/default.rb,
lib/helpers/formatting.rb,
lib/helpers/tag_helper.rb,
lib/helpers/url_helper.rb,
lib/helpers/asset_helper.rb,
lib/helpers/number_helper.rb

Overview

Helper methods can be defined for any view template by simply defining them within the default Helper module in helpers/default.rb of the generated application. Helpers specific to a particular View class can be explicitly defined by creating a helper module that corresponds to the View class. For examples, for the User View class, you would define a helper module in user.rb named User.

The default helper class initially includes a wide-variety of helpers, including helpers for layouts, Textile formatting, rendering forms, and nested views, as well as helpers for accessing the request and response objects. More helpers will be added in future releases, but in many cases, there is no need to include all of them in your application.

Defined Under Namespace

Modules: AssetHelper, Common, Default, Form, Formatting, Model, NumberHelper, TagHelper, UrlHelper, View