Prawn Table - Hello World Example

Prawn is my go-to pdf generator, when using a Ruby on Rails application. I wanted to create a table in prawn, and having no idea how to do so, stumbled upon an article on-line on how to do this. Without it, I would have been lost.

Read More

Beautifying your Ruby Code Automatically via Sublime Text 3 (Ruby on Rails)

Nothing could be more paramount, in the writing of code, than to make it understandable and legible. You will be greatly assisted in the latter task, if you employ a beautifier, that styles everything automatically for you. If you are using Sublime Text 3 as your text editor, then you can employ the “BeautifyRuby” package to help automatically indent and style your rails templates.

Read More