aboutsummaryrefslogtreecommitdiff
path: root/interfaces/ruby/ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/ruby/ruby.rb')
-rw-r--r--interfaces/ruby/ruby.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/interfaces/ruby/ruby.rb b/interfaces/ruby/ruby.rb
new file mode 100644
index 0000000..4c18111
--- /dev/null
+++ b/interfaces/ruby/ruby.rb
@@ -0,0 +1,11 @@
+require 'active_record'
+
+ActiveRecord::Base.establish_connection(
+ adapter: 'sqlite3',
+ database: 'db.sqlite3'
+)
+
+require_relative 'models/config'
+require_relative 'models/comment'
+require_relative 'models/post'
+require_relative 'models/tag'