diff options
Diffstat (limited to 'interfaces/ruby')
-rw-r--r-- | interfaces/ruby/ruby.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/interfaces/ruby/ruby.rb b/interfaces/ruby/ruby.rb index ffd6d6a..d5c0e9c 100644 --- a/interfaces/ruby/ruby.rb +++ b/interfaces/ruby/ruby.rb @@ -5,6 +5,7 @@ ActiveRecord::Base.establish_connection( database: "#{__dir__}/../../db.sqlite3" ) -Dir.glob('models/*.rb', base: __dir__).each do |f| - require_relative f -end +require_relative 'models/comment' +require_relative 'models/config' +require_relative 'models/post' +require_relative 'models/tag' |