View installMongo.sh
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env bash
#
# Compile and install MongoDB with SSL support
# tested an works on Ubuntu 12.04 LTS x64 and Ubuntu 14.04 LTS x64
#
 
 
set -e
set -u
set -o pipefail
View callback_bug.rb
1 2 3 4 5 6 7 8 9 10
require 'active_record'
require 'logger'
 
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
 
ActiveRecord::Schema.define do
create_table :users do
end
 
create_table :user_groups do |t|
Something went wrong with that request. Please try again.