jananganamana 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jananganamana/version.rb +1 -1
- data/lib/jananganamana.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3eb33e730f864e1557671745dc6ce85a8be5506ab0c5dbac126c304e9568cc7
|
4
|
+
data.tar.gz: 5f2c24d44d76ea53751c539bd9c1acb30e680aa8c81b859b3dc16822baae247b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7617f23e6476d2d2c1f10aed6691569c1c7bd076902d2a41837138ff31034447879241b7862efbaef92d14c79775d640bb91dc2c43c8360c7374223e13812b82
|
7
|
+
data.tar.gz: c7018f13f9213fa02b73578769856968b051b06e1f777242c60ea77f04b95d9cfebad84c2f6a88492b81439d77403197282b8a21a79fc3a5b0a2e74040a6c6e7
|
data/lib/jananganamana.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative "jananganamana/version"
|
4
|
-
|
4
|
+
require "ApplicationRecord"
|
5
5
|
module Jananganamana
|
6
6
|
class Error < StandardError; end
|
7
7
|
# Your code goes here...
|
@@ -11,4 +11,8 @@ module Jananganamana
|
|
11
11
|
puts "ganesh"
|
12
12
|
end
|
13
13
|
end
|
14
|
+
class User < ApplicationRecord
|
15
|
+
validates :name,presence:true
|
16
|
+
validates :email,presence:true
|
17
|
+
end
|
14
18
|
end
|