lib/jananganamana.rb in jananganamana-0.1.2 vs lib/jananganamana.rb in jananganamana-0.1.3

- old
+ new

@@ -9,6 +9,10 @@ def self.ganesh puts "ganesh" end end + class User < ApplicationRecord + validates :name,presence:true + validates :email,presence:true + end end