type_cast(value) Instance Public methods
start_accepting() Instance Public methods Prepares the visitor for text generation
new(chart, keys={}) Class Public methods
style(*args) Class Public methods
ancillarydata.level => integer Instance Public methods returns the cmsg level as an integer. p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").level #=> 41
field_set_tag(legend = nil, options = nil, &block) Instance Public methods Creates a field set for grouping HTML form elements. legend will become the fieldset's title (optional as per W3C). options accept the same values as tag. Examples <%= field_set_tag do %> <p><%= text_field_tag 'name' %></p> <% end %> # => <fieldset><p><input id="name" name="name" type="text" /></p></fieldset> <%= field_set_tag 'Your det
new(*requirements) Class Public methods Constructs a requirement from requirements. Requirements can be Strings, Gem::Versions, or Arrays of those. nil and duplicate requirements are ignored. An empty set of requirements is the same as ">= 0".
local_jump_error.reason â symbol Instance Public methods The reason this block was terminated: :break, :redo, :retry, :next, :return, or :noreason.
each() Instance Public methods
primary_key=(value) Instance Public methods Sets the name of the primary key column. class Project < ActiveRecord::Base self.primary_key = 'sysid' end You can also define the primary_key method yourself: class Project < ActiveRecord::Base def self.primary_key 'foo_' + super end end Project.primary_key # => "foo_id"
Page 2268 of 2275