Memphis Ruby

Memphis Ruby

Fork me on GitHub

The Memphis Ruby Users Group is a software group interested in topics related to the Ruby programming language. We have monthly meetups at various locations throughout the Greater Memphis Area. We usually have two presentations each month, given by local practitioners. Our members and topics range from novice to expert, and we welcome newcomers.

Join Us for the Next Meeting!

{{ date }} — {{ event.venue.name }} — {{ event.yes_rsvp_count}} RSVPS

Meetings & Updates

Josh W. Lewis — August 19, 2014

This month, we had another fun an informative meetup at Coroutine. Just one presentation this time, but a good one:

Generating Word Documents with Caracal

John Dugan gave us a great walkthrough of Caracal. It’s an open source library for generating Microsoft Word documents with an HTML-like Ruby API. Caracal lets you build word documents like this:

Caracal::Document.save 'example.docx' do |docx|
  # page 1
  docx.h1 'Some Title'
  docx.hr
  docx.br
  docx.h2 'Some Section'
  docx.p  'Lorem ipsum dolor....'
  docx.br
  docx.table @my_data, border_size: 4 do
    cell_style rows[0], background: 'cccccc', bold: true
  end

  # page 2
  docx.page
  docx.p  'Lorem ipsum dolor....'
  docx.ul do
    li 'Item 1'
    li 'Item 2'
  end
  docx.br
  docx.img image_url('graph.png'), width: 500, height: 300
end

The review demonstrated the library’s functionality but also a good portion of the libraries internal architecture.

The overall response was very positive. Caracal appears to be a well thought out library. It has a great API, and it’s internals abide by the principles of SOLID.

Thanks to all who came, and to Coroutine for the food and meeting space.

Tagged: ruby, gem
Josh W. Lewis — April 21, 2014

Last Tuesday’s meetup at Coroutine was another great one. We had two presentations:

Exploring Ruby’s Enumerable and Comparable

I got us started with a quick demonstration on Ruby’s Enumerable. I covered some simple use cases of enumerable’s methods, then finished it up with an example scenario using Enumerable and Comparable as mixins. You can check out the slides and the sample code.

Spree Commerce Tour

Daniel Pritchett gave us a great tour of Spree Commerce. It’s a complete e-commerce solution built on Ruby on Rails. He walked us through a demo site he had setup, where he highlighted products, checkout, site administration, and hub integration.


Thanks to all who came, and to Coroutine for the food and meeting space.

Slots are still open for next month! If you have something you want to present, contact us - we would love to see it!

Tagged: ruby, rails, spree