action(name, klass = ActionDispatch::Request) Class Public methods Returns a Rack endpoint for the given action name.
new(base) Class Public methods Pass in the instance of the object that is using the errors object. class Person def initialize @errors = ActiveModel::Errors.new(self) end end
cmp.to_f â float Instance Public methods Returns the value as a float if possible (the imaginary part should be exactly zero). Complex(1, 0).to_f #=> 1.0 Complex(1, 0.0).to_f # RangeError Complex(1, 2).to_f # RangeError
list() Instance Public methods
preloaded_records() Class Public methods
assert_no_directory(relative) Instance Public methods Alias for: assert_no_file
supports_statement_cache?() Instance Public methods Returns true, since this connection adapter supports prepared statement caching.
relative_path_from(base_directory) Instance Public methods Returns a relative path from the given base_directory to the receiver. If self is absolute, then base_directory must be absolute too. If self is relative, then base_directory must be relative too. This method doesn't access the filesystem. It assumes no symlinks. ArgumentError is raised when it cannot find a relative path.
plot(*args) Instance Public methods
parse_task_string(string) Instance Public methods
Page 309 of 2275