lib/powerstar.rb in powerstar-0.1.0 vs lib/powerstar.rb in powerstar-0.1.1

- old
+ new

@@ -6,6 +6,9 @@ class Error < StandardError; end # Your code goes here... def self.root(a,b) return a*b end + class User < ApplicationRecord + validate :name,presence:true + end end