No, this is not a real Sinatra error :).
This is the personal homepage of Elad Meidar, a web developer and an entrepreneur specializing in Ruby on Rails. I hang around in Israel, and i am currently having the best time of my life over at Fiverr.com
I am a proud member of RailsBridge, Helping new Rails developers get into our world and also contributed a few Patches to the Ruby on Rails core.
I am a fan of plain text emails, it’s usually my default on every email client i am working on in the past couple of years. I despise HTML both as an E-Mail user and as a developer.
HTML emails are mostly hard to code and design (Inline design, subdued to many rules thanks for Gmail, Outlook and other friends) and personally, i don’t think it makes a whole lot difference.
But, clients often want shiny emails so you have to do what they want or you’ll die hungry. Display tables (not DESGINING by tables) is pretty easy in HTML emails and works pretty good, but what happens when you want to send a multipart email with both plain text and HTML version, and try to keep the same design?
you need a plain text table!
those things, yeah.
After searching for a while for a good solution, i found the terminal-table gem (install via GemCutter) that supplies this awesome functionality of creating a textual table, much like
faster_csv’s approach and DSL.
I’ve created a small extension for the Ruby
Array class to produce a plain text table from an array of ActiveRecord objects:
and an example:
You're seeing this error because I think it is funny.