Archive for rails

[a.Bionic] auto-download all videos of any Event at

Posted in ABK Labs with tags , , , , , , , , , on November 28, 2012 by abhishekkr

@ [27/Nov/2012]

Auto-Download all smallest size Videos of any provided Event in

to install it either run
$ sudo curl -L -o /etc/profile.d/

or copy+paste the shell function below in your shell-load-conf file.

suppose the event resides at URL:

and you just need to run
$ ddl-confreaks rubyconf2012 ~/Downloads

and it will download all Talk Videos from Ruby Conference 2012 at your ~/Downloads directory…

… here full post

[tekwalk] Ruby/Rails utilizing Solr in Master/Slave setup

Posted in Blogroll, Uncategorized with tags , , , , , , on December 28, 2011 by abhishekkr

@ [16-November-2011]

Apache Solr is a high-performance enterprise grade search server being interacted with a REST-like API, documents are provided to as xml, json or binary. It extendsLucene search library.

Ruby/Rails communicates with this awesome search server using Sunspot (sunspot, sunspot_rails gem) library, to do a full-text search. Nice tutorial to use Solr in your Rails project using Sunspot.

Solr can perform as a standalone search server and even as master/slave instances collaborating with each other, with slaves polling master to sync-in their data.

Solr instances can be configured like Slave and as a Master.
Configuration file ‘solrconfig.xml’ needs to be edited with a new RequestHandler for Replication configured: 

{for Slave} :: to either poll at their Master’s machine address at regular intervals

{for Master} :: or…..

… here to read in detail

[tekwalk] Explicit SASS update

Posted in AbhishekKr, tutorial with tags , , , , , , , on November 14, 2011 by abhishekkr

@ [26-September-2011]

explicit update SASS in Rails Application Sass (Syntactically Awesome StyleSheets)?
But, if you are using any other web-server (like, thin)….. in that case you’ll have to get your CSS files to be explicitly updated using ‘sass –update’ action.

$ bundle exec sass –update –watch public/stylesheets/sass:public/stylesheets

… here to read in detail


[takwalk] gherkin native install error AND memory leak in cucumber with HeapOutOfMemory

Posted in Uncategorized with tags , , , , , , , , , , on August 21, 2011 by abhishekkr

@ [19/6/2011]

[dev-ruby] ‘gherkin’ need a native install AND I ported entire jruby dir

….. still a ‘gherkin’ error was there. Running ‘gem list’ showed that now I had two versions of gherkin installed…..


… here to read in detail



@ [19/6/2011]

[dev-ruby] “JRubyOnRails Blames ActiveRecord” *ing: culprit Cucumber, inspector JConsole

…..After starting Rails Server and waiting for some non-specific time, an exception started arising mentioning ActiveRecord and an Heap OutOfMemory Exception …..

… here to read in detail