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.

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.

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.

[Video] Building a Rails 5 app in Real-Time

RubyThursday founder, just completed a 5 day challenge of building a Rails 5 app in real-time. Here’s a quick recap for each day, where she builds a photosharing app. Read more

All of these links are dead, after less than a month.
Thanks so much for sharing Abra! This was a special event for my followers. …

Sanity 101: 8 Quick Checks for Your Rails app

As a consultant, I’ve looked over a shitload (how many? probably ~150-200) over the last 12 1/2 years in the Ruby on Rails community. I haven’t worked on most of them, but I do get invited to look over, review, audit, and provide feedback on a lot of those. Read more

Is it always a good idea to split long methods into smaller ones? An experiment.

Have you heard an opinion that it’s always a good idea to split a long method into smaller ones? Some people disagree. In my new post I conduct a refactoring experiment, with the goal of breaking up a hard-to-split method and STILL getting better readability. If this example can be improved by splitting, does that mean it’s always better? Read more

Loading older posts