Monthly Archives: January 2014

Handy gems for minitest-rails

Originally posted on rails learning:
Welcome to ‘minitest’ world! Minitest is yet another ruby testing framework but it’s not a replacement to rspec. In rspec you can readily use things like ‘subject’, ‘metadata’ etc. However, minitest, as the name suggests, is…

Posted in Ruby on Rails | Tagged , | Leave a comment

Protip – Capybara-RSpec integration with Continuous Integration.

If you are dealing with UI test case automation wherein you see your test cases running in the launched browser window – example being using ‘Capybara’ with ‘Selenium web-driver’ or for that matter any web-driver , then this post can … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , , | 6 Comments

Access Control in Ruby – understanding public, protected and private

We all know that ruby is different from all the other object oriented programming languages. But in what context? One of the differences lies in how ruby handles the protected and public methods and how other languages like c++ handle them. Continue reading

Posted in Ruby, Tutorials | Tagged , , , | 3 Comments

Designing Spreadsheets using Axlsx in Rails

Originally posted on Curious Reflections:
As a Rails developer we often need to create custom reports in some format – pdf, ppt, xlsx etc. Here I will explain how to generate spreadsheets in Rails with custom design and style. To…

Posted in General | Leave a comment