filter_proxies

filter_proxies(ips) Instance Protected methods

stored_attributes

stored_attributes() Instance Public methods

column_order

column_order(column, visible=false) Instance Public methods

cdata_section

cdata_section(content) Instance Public methods Returns a CDATA section with the given content. CDATA sections are used to escape blocks of text containing characters which would otherwise be recognized as markup. CDATA sections begin with the string <![CDATA[ and end with (and may not contain) the string ]]>. cdata_section("<hello world>") # => <![CDATA[<hello world>]]> cdata_section(File.read("hello_world.txt")) # => <![CDATA[<hello from a text

convert

convert(text) Instance Public methods Converts text to an HTML-safe label

pseudo_toplevel_evaluable?

pseudo_toplevel_evaluable?() Instance Public methods def pseudo_toplevel_eval(body = Proc.new) Thread.current[:TOPLEVEL] = self begin body.call ensure Thread.current[:TOPLEVEL] = nil end end

supports_statement_cache?

supports_statement_cache?() Instance Public methods Returns true when the connection adapter supports prepared statement caching, otherwise returns false

new

new() Class Public methods

item_cget_strict

item_cget_strict(tagOrId, option) Instance Public methods

controller_name

controller_name() Class Public methods Returns the last part of the controller's name, underscored, without the ending Controller. For instance, PostsController returns posts. Namespaces are left out, so Admin::PostsController returns posts as well. Returns string