Last week I was working on my scrapper for getting Imdb Celebrity data for some specific purpose. Then, I searched for some available plugin or gem for the same. More surprisingly I was not able to find something what I’m looking for. Then, one idea stuck in my mind, why not create one of my own. Then I started working on this small rubygem name...
RailsCast's Crawler - RubyScript
First of all thanks to RyanBates for his valuable contribution towards the rails community with those short and easy-to-understand railscast videos. From Past few months I continuously watching those videos. Yesterday while downloading one of those videos, I realize rather than downloading them when its needed, it would be better to write some s...
Enhancing script/console
I Used Rails rails console a lot for debugging my rails applications. Every time when I started debugging something, I have to keep my console log[*.log] file to see what corresponding queries being generated to carried out the result I desired.
I found a better solution for that. I enhanced my rails console, which enabled on-screen query loggin...
Black Book Web mail import gem-add mail provider
Black book is one the easiest way to add web email importing feature in your application. Recently I am working on a Social network cum movie portal site. By default, black book provides support for gmail, yahoo, hotmail, AOL and csv. But as per my requirement I have to add 20-30 mail providers from different countries. I started with free
12345...
Rails ActiveRecord – has_and_belongs_to_many & Duplicate entry Error
ScenarioIn One of my project, we had Many to Many association between models. This allowed me to look more deeply into the has_and_belongs_to_many(HABTM) association.
When we say:
1234567class Movies < ActiveRecord::Base has_and_belongs_to_many :gallery_photos, :join_table=> "movies_gallery_photos"endclass GalleryPhoto < ActiveRecord::...