diff app/models/application_record.rb @ 433:b445318de858

Inheriting ApplicationRecord
author nanaya <me@myconan.net>
date Fri, 13 May 2016 03:59:50 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/models/application_record.rb	Fri May 13 03:59:50 2016 +0900
@@ -0,0 +1,3 @@
+class ApplicationRecord < ActiveRecord::Base
+  self.abstract_class = true
+end