video_url

video_url(source, options = {}) Instance Public methods Computes the full URL to a video asset in the public videos directory. This will use video_path internally, so most of their behaviors will be the same. url_to_video

translate

translate(key, options = {}) Instance Public methods Delegates to I18n#translate but also performs three additional functions. First, it will ensure that any thrown MissingTranslation messages will be turned into inline spans that: * have a "translation-missing" class set, * contain the missing key as a title attribute and * a titleized version of the last key segment as a text. E.g. the value returned for a missing translation key :âblog.post.titleâ will be <span class=âtransl

add_on_blank

add_on_blank(attributes, options = {}) Instance Public methods Will add an error message to each of the attributes in attributes that is blank (using Object#blank?). person.errors.add_on_blank(:name) person.errors.messages # => {:name=>["can't be blank"]}

content_type

content_type() Instance Public methods

[]=

[]=(key, value) Instance Public methods

characters

characters(string) Instance Public methods Also aliased as: cdata_block

new

new(klass, owners, reflection, preload_scope) Class Public methods

gem_version

gem_version() Class Public methods Returns the version of the currently loaded ActiveSupport as a Gem::Version

watch_namespaces

watch_namespaces(namespaces) Instance Public methods Add a set of modules to the watch stack, remembering the initial constants.

say

say(message, subitem=false) Instance Public methods