Permtting the Multiple Params Without Using Mutiple Condition March 5, 2016 We can permit different type of model attributes without using the multiple condition we normally using below code to permit attributes with multiple condition… Continue Reading
Sunspot Solr Search example with all important features March 3, 2016 Below you will find all the practical information about that sunspot solr search: Points those are covered below :1. Solr search for same model2. Solr search in… Continue Reading
Solr Search, Multiple range filter with float or integer columns for joins with sunspot February 29, 2016 I have struggled too much for finding out the appropriate solution but still looking for the best one. Below you can find out an… Continue Reading
Sync : Real-time partials with Rails February 25, 2016 Add Gem: Faye: gem ‘faye’gem ‘thin’, require: falsegem ‘sync’ OR Pusher: gem ‘pusher’gem ‘sync’ Install Sync: bundlerails g sync:install Include: Application.js: //= require sync… Continue Reading
Bind bootstrap tooltip on dynamic elements February 24, 2016 It is pretty simple to bind a tooltip with elements. Generally, it happends when we works with dynamic elements than it creates problem for… Continue Reading
Sunspot Solr Search in Ruby On Rails February 22, 2016 For using solr search in ruby on rails application. We have to use some ruby libraries that intereacts with the solr search So sunspot… Continue Reading
Mongo query with aggregate function for rails December 7, 2015 Group by state and created at: Mongo query to count no. of questions and votes by different gender with their total sum. … Continue Reading
Installation Tutorial – Sublime SFTP Plugin November 28, 2015 This video will give you the brief knowledge of sublime sftp/ftp plugin installations. It will give you flexible options to automate the synchronization of… Continue Reading
Upload audio and videos by paperclip rails October 5, 2015 Steps to Upload any type of media in ruby on rails by paperclip 1) Upload video a) apply gem “paperclip-ffmpeg”, “~> 1.0.1” b) Apply validation in model… Continue Reading
Find Latitude Longitude using Ip address October 5, 2015 Below mentioned way is to get lat long using ip address It allows 250 requests in a minute http://ip-api.com Using Net::HTTP require ‘net/http’ class… Continue Reading