Featured
-
No Featured Found!
Tags
How to isolate cookie store for one subdomain from other subdomains and domain itself in Rails 5?
Hello,
I need to have cookie store #1 on a.example.com
and I need to have cookie store #2 on b.example.com and on example.com
One method was to change cookie name per subdomain / domain, however
request.env['rack.session.opti...
How to Open 2 Folder Paths in Ruby Program without any Errors Showing
require "net/ssh"
require 'net/ssh/shell'
require 'capistrano/rails'
require 'sshkit'
require 'sshkit/dsl'
include SSHKit::DSL
@hostname = "lwa1001.env-10-100-222.iagcloud"
@username = "admin"
@password = "password1"
@cmd = "ls -la"
...
How to authenticate user comments on Rails blogging website to prevent bots ?
I maintain a blog that I made with Rails. Lately I'm getting a lot of spam (bots) in comments section. How can I authenticate user comments on Rails blog?