Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Convert rails 3 list of routes to rails 6 list of routes

Having trouble defining multiple routes together in rails 6. In rails 3 we defined multiple routes like the example below. member_routes = { :validate_update_action => :put, :rebuild_update_form ...

Questions and Answers App Not Working in Ruby on Rails

I have created a ruby question answer app but on answering the correct answer the question is getting repeated i.e next question is not appearing.

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?

Converting timezone of date-time without effecting the actual time

I am looking for a way in rails using which I can change the timezone i.e UTC or GMT of date time string without actually making any changes to the original string (just want to change the timezone) . Is there any inbuilt time method in Rails...

Celluloid::Task::TerminatedError for sidekiq

We have few workers working in the background and there has been as error being recorded in the rails error log i.e "Celluloid::Task::TerminatedError from Sidetiq::Clock#loop!". I am looking for a solution regarding the same but has been un...

Credit card payment fails for delayed payment methodology using Braintree payment gateway?

We are working on a site where user registers for an event using his credit card, we verify for credit card using Braintree API and registers user based on that. Once a particular event is over we process for payment for all the registered user u...

How to stop spam from submitting form in rails other then captcha

We have a registration form where user can register directly i.e we don't have any mail verification process beside that we also don't want to add captcha as its add an extra step for the user. The issue we are having is that some bot is making ...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: