]> git.openstreetmap.org Git - rails.git/commit
Create an ApplicationRecord for models to inherit from
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Nov 2019 10:50:48 +0000 (11:50 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Nov 2019 10:50:48 +0000 (11:50 +0100)
commita41d500b9f65ec9f4e848effd38dc1ae117e7594
tree845a1dc8e207ad2e1e1e7e00e4176391e574a3d0
parenta3a95616d94a7b3f3bd20e2828c3b1412f80bff5
Create an ApplicationRecord for models to inherit from

This is the default for Rails 5+, and also paves the way for
multiple database support.
45 files changed:
.rubocop.yml
app/models/acl.rb
app/models/application_record.rb [new file with mode: 0644]
app/models/changeset.rb
app/models/changeset_comment.rb
app/models/changeset_tag.rb
app/models/client_application.rb
app/models/diary_comment.rb
app/models/diary_entry.rb
app/models/diary_entry_subscription.rb
app/models/friendship.rb
app/models/issue.rb
app/models/issue_comment.rb
app/models/language.rb
app/models/message.rb
app/models/node.rb
app/models/node_tag.rb
app/models/note.rb
app/models/note_comment.rb
app/models/oauth_nonce.rb
app/models/oauth_token.rb
app/models/old_node.rb
app/models/old_node_tag.rb
app/models/old_relation.rb
app/models/old_relation_member.rb
app/models/old_relation_tag.rb
app/models/old_way.rb
app/models/old_way_node.rb
app/models/old_way_tag.rb
app/models/redaction.rb
app/models/relation.rb
app/models/relation_member.rb
app/models/relation_tag.rb
app/models/report.rb
app/models/trace.rb
app/models/tracepoint.rb
app/models/tracetag.rb
app/models/user.rb
app/models/user_block.rb
app/models/user_preference.rb
app/models/user_role.rb
app/models/user_token.rb
app/models/way.rb
app/models/way_node.rb
app/models/way_tag.rb