lib/powerstar.rb in powerstar-0.1.1 vs lib/powerstar.rb in powerstar-0.1.2
- old
+ new
@@ -6,9 +6,9 @@
class Error < StandardError; end
# Your code goes here...
def self.root(a,b)
return a*b
end
- class User < ApplicationRecord
+ class User
validate :name,presence:true
end
end