We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46eb812 commit d55d772Copy full SHA for d55d772
1 file changed
app/models/profile.rb
@@ -2,8 +2,9 @@
2
3
class Profile < ApplicationRecord
4
include HasOrcid
5
+ include InSpace
6
- auto_strip_attributes :firstname, :surname, :website, squish: false
7
+ auto_strip_attributes :firstname, :surname, :website, :orcid, squish: false
8
belongs_to :user, inverse_of: :profile
9
10
validates :firstname, :surname, :description, presence: true, if: :public?
0 commit comments