class Fx::Configuration

F(x)'s configuration object.

Attributes

database[RW]

The F(x) database adapter instance to use when executing SQL.

Defaults to an instance of {Fx::Adapters::Postgres} @return Fx adapter

dump_functions_at_beginning_of_schema[RW]

Prioritizes the order in the schema.rb of functions before other statements in order to make directly schema load work when using functions in statements below, i.e.: default column values.

Defaults to false @return Boolean

Public Class Methods

new() click to toggle source
# File lib/fx/configuration.rb, line 43
def initialize
  @database = Fx::Adapters::Postgres.new
  @dump_functions_at_beginning_of_schema = false
end