mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
* Improves ruby code in app/models/app_user.rb based on suggestions from Rubocop * Rubocop fixes for more models
7 lines
167 B
Ruby
7 lines
167 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FolderApp < ApplicationRecord
|
|
belongs_to :folder
|
|
belongs_to :app
|
|
validates :app_id, uniqueness: { scope: [:folder_id] }
|
|
end
|