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.

The aesthetics of Ruby - Kernel#itself method

Recently, I’ve had quite a popular problem to solve: count the occurences of the given item in a collection. There are few ways to solve this problem - starting from using Enumerable#inject or Enumerable#each_with_object with an empty hash as an accumulator value and writing a code looking like this: [more inside]

DuckRecord - ActiveRecord without DB to easy build virtual model

DuckRecord is a fork of ActiveRecord 5.0 and removed all Arel and DB-related things that aim to provide a powerful infrastructure for virtual model (a class which conforms ActiveModel’s protocol and not backed by a database), DuckRecord also support embeds_one and embeds_many association just like Mongoid does. There’s a dynamic form app demo shows how virtual model pattern (with many my practice) with ActiveRecord’s serialize can introduce NoSQL experience to traditional Rails-stack app.

Day 23 - Ruby Advent Calendar'17: beerdb - Serve Yourself Beer & Brewery Data in JSON

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 23 with beerdb - Serve Yourself an Irish Stout, Vienna Lager or Bamberger Rauchbier as JSON. Free home (computer) delivery with Sinatra-like webservice library and route matching with mustermann. Cheers, Prost, Kampai, Na zdravi, Salute, 乾杯, Skål, Egészségedre! PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

pry-larrify v1.0.3 released

Larry is a plugin for the Pry repl that measures the duration of code (and optionally, Pry commands!) you enter during a Pry session. No manual interaction required. The measurement of time is wall clock time. Almost everything about Larry is configurable.

Day 22 - Ruby Advent Calendar '17 - datapak - Work w/ Tabular Data Packages in SQLite

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 22 with datapak - Work with Tabular Data Packages (.CSV Files w/ datapackage.json) Using In-Memory SQLite (w/ ActiveRecord). All about open data, frictionless data, tabular data packages, core (open tabular) datasets and much more. Happy reading & querying. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Day 21 - Ruby Advent Calendar '17 - sportdb - Ready-to-Use Football Models & Readers

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 21 with sportdb - Read in Your Own Sport (Football) Datasets in (Structured) Text into any SQL Database (SQLite, PostgreSQL, …); Fire Up or Write Out (Static) HTTP JSON APIs and Much More. World Cup - English Premier League - Spanish La Liga - Austrian Bundesliga :-) and Much More. Happy reading & writing. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Day 20 - Ruby Advent Calendar '17 - eventdb - Build Your Own Live Calendars

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 20 with eventdb - Build your own what’s on / what’s up event calendars from (awesome) READMEs in (structured) text. Happy reading & writing. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Hey Gerald, I’m just curious were you inspired by https://mojolicious.io/blog/ …
Thanks for highlighting another advent calendar. The inspiration was the Ruby I…

Modern Front-end in Rails 3 (it's a wrap)

The last part of the tutorial on modern front-end in practices in Rails. Using Action Cable as npm package, deploying “Sprocketless” Rails application to Heroku. In a three-part beginner-friendly guide (Part 1, Part 2) we learned how to move away from Asset Pipeline, fully embrace Webpacker and organise front-end code around the idea of “components” using mostly built-in tools, without relying on external frameworks.

Ruby Conferences in 2018 - Updating Awesome Events @ Planet Ruby - Are We Dead Yet?

Hello, I’m updating the Awesome Events Page @ Planet Ruby that collects meetups, camps, (un)conferences and more. Anything missing? Updates more than welcome :-). Are we dead yet? Any conferences upcoming in 2018? Let us know. The first batch of updates gets added to the Ruby Advent Calendar 2017. Cheers. Prost.

http://www.nikeblazers.us http://www.true-religion.org.uk http://www.gucci--out…

Introducing sequel_tools: Rake integration over Sequel migrations and related tasks

A few days ago I created the sequel_tools gem to make it easier to integrate Sequel migrations and related tasks to Rake. I’ve also written about the reasoning behind it in a two-sections article. The first section is very long and completely optional and I’d advise you to skip it unless you enjoy reading rants. The other section talks about the sequel_tools gem and its features and some reasoning behind some decisions.

Day 18 - Ruby Advent Calendar '17 - slideshow (s9) - Write your slides/talks in text

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 18 with slideshow (s9) - Write your slides / talks / presentations in (structured) text with formatting conventions in markdown - kramdown really ;-); build (static) webpages w/ (jekyll-compatible) theme packs incl. Reveal.js, Bespoke.js, Impress.js, and many more. Happy writing, publishing & talking. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Loading older posts