lib/jananganamana.rb in jananganamana-0.2.6 vs lib/jananganamana.rb in jananganamana-0.2.7

- old
+ new

@@ -9,10 +9,10 @@ def self.ganesh puts "ganesh" end end - class User + class User include ActiveModel::Model validates :name,presence:true validates :email,presence:true end end