Acts_as_solr: Starting solr server on windows
I was using acts_as_searchable for one of my project, which uses Hyperestraier in background. Yesterday I decided to use acts_as_solr which uses solr(based on Lucene Java search library). I did all...
View ArticleDeploying rails application with pound as a Balancer
Now a days Apache + mod_proxy + mongrel_clusters, Lighttpd + Mongrel cluster and Nginx + mongrel cluster are well known for deploying rails applications. You can also deploy your rails application with...
View ArticleRunning Rails Application on https with pound
Hours ago, I posted about, “How to deploy rails application with pound as a Balancer”. Lets run rails application on https with pound. For that your machine should have: * Pound installed with ssl...
View ArticleSingle Table Inheritance validates_uniqueness_of Problem
Consider a case of STI where: class User Now try following at console: User.create(:name => "Akhil Bansal") Manager.create(:name => "Akhil Bansal") Customer.create(:name => "Akhil Bansal")...
View ArticleRuby Script for SVN commit notification with log message, list of updated...
Some days ago I wrote a post about “SVN commit notification” which uses a perl script for sending commit notification with svn diff by mail. In this mail you can find svn diff from the last committed...
View ArticleMigration: Adding/Removing columns are now much easier
You may have noticed by now, that in Rails 2.0 changeset 7422, you can specify columns you want to add/remove in your migration by passing attribute:type pairs to the migration generator. For example,...
View ArticleGit – Fast Version Control System
Git is getting popular in Rails community these days, as there were being many changes in rails to support Git. Git is a open sourse fast version controller system. It was originally designed by Linus...
View ArticleActionCable and WebSockets – Part 2(The Implementation)
You can visit the Part 1 here. THE RAILS WAY… When you create a new rails 5 application, rails generates some files for you: For any implementation of a websocket connection, we need both the client...
View ArticleActionCable and WebSockets – Part 1(The Basics)
One of the best thing about Rails is the ease with which it allows you to develop web apps quickly by providing some sensible conventions. And with Rails 5, it allows you to make real-time web apps in...
View ArticleHow technology is helping people amid Coronavirus outbreak
In today’s era, widely and rapidly spreading diseases is a huge concern for medical professionals around the globe. And currently, the world is fighting with one such disease, Coronavirus, that has...
View Article
More Pages to Explore .....