Blogs
Ruby gem for extracting tables from PDF as a structured info
Iguvium renders pdf into an image, looks for table-like graphic structure and tries to place characters into detected cells.Characters extraction is done by PDF::Reader gem. Some PDFs are so messed up it can't extract meaningful text from them. If...
When I Use Controller/Request Specs in Rails and When I Don't
Every so often I come across a question of controller or request specs and when to use them.Before I can address this I need to get some terminology out of the way. In RSpec there are controller tests and request specs which are similar but subtly...
How To Get Clean and Maintainable Code in Rails with Service Objects?
Service objects in rails always help you to design and clean and maintainable code. Here is a comprehensive guideline to design clean and organized code in. In a separate object, the services enjoys the benefit of concentrating the core logic of t...