Issues with thinking sphinx
I recently faced some issues with thinking sphinx which sharing here so that it helps others. Has many association not working:I had a model named User which has many tracks and the very basic index d...
Technical tutorials, system architecture insights, performance tuning guides, and real-world debugging logs from over 22+ years building production web systems.
I recently faced some issues with thinking sphinx which sharing here so that it helps others. Has many association not working:I had a model named User which has many tracks and the very basic index d...
Many of us already know the reason to omit pushing secret token into version repository to secure the application. Attacker can take the secret token and re-generate valid cookies for your applicatio...
Today, I have start working after 6 months with one of my existing Ruby on Rails application and found the mentioned error. And then found, jquery-rails removed the jQuery UI and recommended to use jq...
This error may occur to run older Rails application for conflicting with rubygems version. After a long googling I've come out in to following three solutions: Using Bundler.:Click here if you are int...
You may need to render static HTML template file from a controller action without modifying anything in to file. And, may need to replace some content during render. A template may contain relative...
There are some popular authentication libraries like devise, Authlogic, Restful Authentication, Clearance in Ruby on Rails. But, you can implement of your own as well. Here, I'm explaining few sim...
Just published new version of rename gem with following changes: Sanitize new nameSearch/Replace module name in all files under root and configChange session keyChange directory nameInstallationAdd t...
Just added a prototype site of to manage document using Ruby on Rails: Gems UsesjQuery-File-UploadCarrierWaveFogTwitter BootstrapHamlSimple FormRspecfactory_girlClick here to contribute/checkout.
I was getting the error while installing an older rails application. After googling I've got the solution from a discussion thread to add following block in right before the initialization in to confi...
A Rails3 application name are using as a Ruby name space for entire application and throughout the project tree as well. So, If anyone later decide to change the project name, then have to replace the...