mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Add importer model, validations to paper model
This commit is contained in:
parent
568abb631f
commit
46de026234
8 changed files with 67 additions and 13 deletions
3
app/models/importer.rb
Normal file
3
app/models/importer.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class Importer < ActiveRecord::Base
|
||||
validates :url, presence: true, uniqueness: true
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue