selection_remove

selection_remove() Instance Public methods

number_to_phone

number_to_phone(number, options = {}) Instance Public methods Formats a number into a US phone number (e.g., (555) 123-9876). You can customize the format in the options hash. Options :area_code - Adds parentheses around the area code. :delimiter - Specifies the delimiter to use (defaults to â-â). :extension - Specifies an extension to add to the end of the generated number. :country_code - Sets the country code for the phone number. :raise - If true, raises InvalidNumberE

column_exists?

column_exists?(table_name, column_name, type = nil, options = {}) Instance Public methods Checks to see if a column exists in a given table. # Check a column exists column_exists?(:suppliers, :name) # Check a column exists of a particular type column_exists?(:suppliers, :name, :string) # Check a column exists with a specific definition column_exists?(:suppliers, :name, :string, limit: 100) column_exists?(:suppliers, :name, :string, default: 'default') column_exists?(:suppliers, :

quit

quit() Instance Public methods

previous

previous() Instance Public methods

rand_bool

rand_bool() Instance Public methods

partial_collection_with_as_and_counter

partial_collection_with_as_and_counter() Instance Public methods

action=

action=(action_name) Instance Public methods

_dump

_dump Instance Public methods Method used to provide marshalling support. inf = BigDecimal.new('Infinity') => #<BigDecimal:1e16fa8,'Infinity',9(9)> BigDecimal._load(inf._dump) => #<BigDecimal:1df8dc8,'Infinity',9(9)> See the Marshal module.

add

add(*sequences) Instance Public methods