put

put(*args, &block) Instance Public methods Define a route that only recognizes HTTP PUT. For supported arguments, see match put 'bacon', to: 'food#bacon'

session_options=

session_options=(options) Instance Public methods

inheritance_column

inheritance_column() Instance Public methods Defines the name of the table column which will store the class name on single-table inheritance situations. The default inheritance column name is type, which means it's a reserved word inside Active Record. To be able to use single-table inheritance with another column name, or to use the column type in your own model for something else, you can set inheritance_column: self.inheritance_column = 'zoink'

escape_javascript

escape_javascript(javascript) Instance Public methods Escapes carriage returns and single and double quotes for JavaScript segments. Also available through the alias j(). This is particularly helpful in JavaScript responses, like: $('some_element').replaceWith('<%=j render 'some/element_template' %>'); j

secrets

secrets() Instance Public methods Returns secrets added to config/secrets.yml. Example: development: secret_key_base: 836fa3665997a860728bcb9e9a1e704d427cfc920e79d847d79c8a9a907b9e965defa4154b2b86bdec6930adbe33f21364523a6f6ce363865724549fdfc08553 test: secret_key_base: 5a37811464e7d378488b0f073e2193b093682e4e21f5d6f3ae0a4e1781e61a351fdc878a843424e81c73fb484a40d23f92c8dafac4870e74ede6e5e174423010 production: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> namespace: my_

new_constants

new_constants() Instance Public methods Returns a list of new constants found since the last call to watch_namespaces.

delegate

delegate(*methods) Instance Public methods Provides a delegate class method to easily expose contained objects' public methods as your own. Options :to - Specifies the target object :prefix - Prefixes the new method with the target name or a custom prefix :allow_nil - if set to true, prevents a NoMethodError to be raised The macro receives one or more method names (specified as symbols or strings) and the name of the target object via the :to option (also a symbol or string

to_format

to_format() Instance Public methods All other formats follow the procedure below. First we try to render a template, if the template is not available, we verify if the resource responds to :to_format and display it.

[]

[](*args) Class Public methods

skip_action_callback

skip_action_callback(*names) Instance Public methods Skip before, after, and around action callbacks matching any of the names Aliased as skip_filter. Parameters names - A list of valid names that could be used for callbacks. Note that skipping uses Ruby equality, so it's impossible to skip a callback defined using an anonymous proc using skip_filter skip_filter