Top Level Namespace

Defined Under Namespace

Modules: AutoRemote Classes: AutoRemoteRequest, Device

Instance Method Summary collapse

Instance Method Details

#adapterObject

Establish the database connection


9
10
11
12
# File 'lib/autoremote.rb', line 9

ActiveRecord::Base.establish_connection(
    :adapter  => 'sqlite3',
    :database => ENV['HOME'] + '/.autoremote/devices.db'
)