HTTP basic authentication using email address
In my previous article, I have written about HTTP basic authentication in rails using a plain user access YML. Last few days ago, I have modified the logic to log-in using email address and password....
Technical tutorials, system architecture insights, performance tuning guides, and real-world debugging logs from over 22+ years building production web systems.
In my previous article, I have written about HTTP basic authentication in rails using a plain user access YML. Last few days ago, I have modified the logic to log-in using email address and password....
Sometimes, you may need to protect your staging server from outside world. It can be done easily by using http basic authentication in rails3. I did following things to use HTTP basic authentication t...
I have used following shell script to deploy one of my Ruby on Rails applications: DATES=`date +%Y%m%d%H%I%S`service apache2 stop &&mysqldump -u[user] -p[pass] [yourdbname] > "your backup directory"[...
Action Mailer of Ruby on Rails(RoR) allows you to send emails from application using a mailer model and views. Sometimes you may need to use any helper method though it does not allow by default. In t...
From last couple of days, I was facing a problem with my ruby interpreter. It was crashing continuously after few page requests and getting message: Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has...
Last couple of days ago, I was stuck to install mysql2 gem on windows7 for rails3 and tried lots of instructions by googling. Unfortunately, those were not worked for me.Finally, I have specified a ol...
I started working on a new rails project and in every time from command line operation getting this type of irritating message:config.gem: Unpacked gem ..... in vendor/gems has no specification file....
It's not a good practice to do though depends on your needs. It can be done by two ways, one is to disable for whole application and another is to disable for specific environments. You're probably lo...
You might experience the problem due to the following reasons: You haven’t installed RailsRails path cannot be foundInstalled Rails using a ‘special’ installerTo resolve the issue, uninstall rails ins...
I have found a nice ruby version manager for windows named pik. It's pretty easy to install and manage multiple ruby versions. First install the pik gem:gem install pikAfter installing the pik, you ha...