You can use regular Ruby code to do this in your plugin.rb
:
class ::User < ActiveRecord::Base
validates_presence_of :your_attribute
end
You can use regular Ruby code to do this in your plugin.rb
:
class ::User < ActiveRecord::Base
validates_presence_of :your_attribute
end