diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-11-11 09:43:43 +0100 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-11-14 12:41:16 +0100 |
commit | 648f05622dc0a71c6c2addfac4ce5f2a639d4468 (patch) | |
tree | 69ee0bed57aa5b834cd0e2c4b1b0e07766565391 | |
parent | 955bdcb5d49c22bbc24ecf987fea108a6e67b5af (diff) | |
download | gitlab-ce-648f05622dc0a71c6c2addfac4ce5f2a639d4468.tar.gz |
Add ApplicationRecord model class
In Rails 5 all models by default inherit from ApplicationRecord.
-rw-r--r-- | app/models/application_record.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/application_record.rb b/app/models/application_record.rb new file mode 100644 index 00000000000..71fbba5b328 --- /dev/null +++ b/app/models/application_record.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true +end |