IP: <%= f.label require 'socket' ip=Socket.ip_address_list.detect{|intf| intf.ipv4_private?} ip.ip_address %><br> Current Time: <%= f.label t = Time.now t.strftime("%I:%M%p") %> <%= f.submit id: 'checkin', name:'action', value:'CheckIn'%>
def index @emps= Ems.new @emps.save end
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)