Sha256: 4d5c30679fc6d79fe0743c0d9c6d345f814c6eadce287a13ca43c9c2efa903a8
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require_relative "jananganamana/version" # require "application_record" module Jananganamana class Error < StandardError; end # Your code goes here... # class Ganesh1 # def self.ganesh # puts "ganesh" # end # end class User1 include ActiveModel::Model #< ApplicationRecord # belongs_to :user # validates :name,presence:true # validates :email,presence:true # attr_accessor :name, :age validates_presence_of :name end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jananganamana-0.3.0 | lib/jananganamana.rb |