RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

tty-pager v0.8.0

Newest tty-pager fixes support on Windows and allows to enforce pager command. Give it a try!

View Objects – The Way to Deal with Messy Rails Views

As your view begins to contain more complex logic, you can encounter all kinds of problems. First, it can be problematic to test. Second, your code becomes less readable and harder to modify. That’s when View Objects might be helpful. [more inside]

JSON: 1.1 # JSON with Extensions (JSONX) - New JSON (Next) Format w/ json-next gem

Hello, I’ve updated the JSON readers gem now called json-next, formerly jasony. The next next generation JSON parser / reader included is a world-wide ruby’s 1st - JSONX.parse for the new JSON: 1.1 # JSON with Extensions (JSONX) format. Using JSONX you can use all the JSON extension of HanSON (JSON for Humans) and SON (Simple Object Notation) and some more e.g. use Ruby (Shell)-like #-comments, unquoted keys, optional commas, and much more. Note: JSONX.parse is the same as JSON.parse( JSONX.convert(text)), that is, JSONX works like a preprocessor for JSON. Cheers. PS: What’s your favorite JSON format? e.g. “Vanilla” JSON 1.0 or JSON5 or HJSON or HanSON or SON or CSON or USON or JSONX/JSON11/JSON XI/JSONII.

Using InfluxDB with Ruby

InfluxDB is an open-source time series database, written in Go. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, and real-time analytics. [more inside]

jasony gem adds SON (Simple Object Notation) w/ optional commas, #-comments, etc.

Hello, I’ve updated the JSON readers gem called jasony. The next next generation JSON parser / reader included is SON.parse for the Simple Object Notaton (SON) format by Aleksander Gurin et al. Using SON you can use Ruby (Shell)-like #-comments, optional commas, and more. Note: SON.parse is the same as JSON.parse( SON.convert(text)), that is, SON works like a “pre-processor” for JSON. Cheers.

Loading older posts