Simple Ruby class to print ActiveRecord results as a table

Mar 5, 20213 min read

You ever wanted to print a result of records in a fancier way? With this simple class you can print tables like this: records = Post.includes(:user).where(user_id: [1,2]) attributes = [:created_at, :title, {user: :name}] TablePrinter.new(records, ...

Simple Ruby class to print ActiveRecord results as a table
Finding the real ip: Cloudfront -> ELB -> Nginx -> Rails
Elixir Phoenix development using Docker and Docker-Compose
Continuous Integration in Elixir Phoenix with Travis-CI and Codecov
Install Elixir and Erlang with asdf version manager