mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-27 03:06:11 +01:00
Convert to ApplicationRecord
Rails 5 requires the use of this superclass for all database backed model objects now.
This commit is contained in:
parent
35e6384b95
commit
0e21d64890
12 changed files with 14 additions and 11 deletions
3
app/models/application_record.rb
Normal file
3
app/models/application_record.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
class ApplicationRecord < ActiveRecord::Base
|
||||
self.abstract_class = true
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue