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.

Day 7 - Ruby Advent Calendar '17 - webservice - Script HTTP JSON APIs (Microservices)

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 7 with webservice - Script HTTP JSON APIs (web services) in classy Sinatra 2.0-style get / post methods with Mustermann 1.0 route / url pattern matching. Load (micro) web services at-runtime using Webservice.load_file. Get a free wiener lager, welsh red ale or kriek lambic beer delivered to your home (computer) in JSON and much much more. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Day 6 - Ruby Advent Calendar '17 - almost-sinatra - Build Your Own Webframework

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 6 with almost-sinatra - Build your own webframework from scratch with Rack and Tilt in less than ten lines. The legendary mega hack by Konstantin Haase - six lines of Almost Sinatra now “unobfuscated” and bundled up for easy (re)use and studying. Got inspired? Build your own webframework. New York, New York, Nancy, Cuba, Roda, and many more. Yes, you can! Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Modern Front-end in Rails. Part 1 of a three-part tutorial

An opinionated guide by Andy Barnov and Alexey Plutalov to modern, modular, component-based front-end in Rails 5.1+. No front-end frameworks involved. Follow our three-part tutorial to learn the bare minimum of up-to-date front-end techniques by following an example and finally make sense of it all. Part 1: goodbye Asset Pipeline, code organization, linting.

Nice article, thank you. But I’ve run into few issues: Cannot read…
Nice catch on a port number, indeed not everyone runs rails on 3000 on localhos…
Sorry for markdown not being parsed correctly, here’s the gist …
your code works. It works because I’ve added window.addEventListener (…

Day 5 - Ruby Advent Calendar '17 - json-next - Read Next Generation JSON - Comments!

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 5 with json-next - Read next generation JSON versions (HanSON, SON, JSONX/JSON11, etc.) with comments, unquoted keys, multi-line strings, trailing commas, optional commas, and more. The json-next library / gem lets you convert and read (parse) next generation json versions including: HanSON e.g. HANSON.parse, SON e.g. SON.parse, JSONX e.g. JSONX.parse. Bonus: More JSON Formats. See the Awesome JSON (What’s Next?) collection / page. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Mobility 0.3: Ready for Prime Time

Just a little over six months ago, I released the first version of the Ruby translation framework I’ve called Mobility. Mobility allows you to store translations for your models using one of any number of different storage strategies (translation table, jsonb column, etc). The release of Mobility 0.3, described in an article on my blog posted today, comes with some important bug and usability fixes, as well as support for the latest versions of ActiveRecord (5.2.beta.2) and Sequel (5.x).

Day 4 - Ruby Advent Calendar '17 - journaltxt - Blogging reinvented: Read Journal.TXT

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 4 with journaltxt - Blogging reinvented: Read Journal.TXT - single-text file journals - and write out (auto-build) a blog (w/ Jekyll posts etc.). Bonus: Add Your Perfect Day! Berlin.TXT, Munich.TXT, Salzburg.TXT, Paris.TXT, London.TXT, Rome.TXT, New York.TXT, Austin.TXT, Tornoto.TXT, Calgary.TXT, Melbourne.TXT, Sydney.TXT, … - Anyone? Write your perfect day(s) in a single-text file with Journal.TXT. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Testing HTTPS in the development environment with self-signed certificates

I wrote an article explaining how to create self-signed root CA and certificates that are suited for HTTPS tests in the development environment and even created a simple Rack application to generate them from the web and made it available at Docker Hub. You can give it a try directly from the article in the last notes with a simple click of a button. Currently it only explains how to add the root CA to Linux and provides a sample nginx config. Pull requests to add instructions for other web servers (such as Apache) and operating systems (Windows, OSX) are welcome.

Day 3 - Ruby Advent Calendar '17 - quik - Quick Starter Template Script Wizard

Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 3 with quik - Quick starter template script wizard - the missing code generator and project scaffolder for gems, sinatra, jekyll & more. Ever asked yourself - Q: How do you get started with creating a new gem? Q: How do you get started with creating a new sinatra app or service? Q: How do you get started with creating a new jekyll theme? and so on. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Day 2 - Ruby Advent Calendar '17 - factbook - Read the World Factbook 260+ Countries

Hello, welcome to the Ruby Advent Calendar 2017. Let’s continue the series on Day 2 with factbook - Turn the World Factbook (260+ country profiles) into open structured data e.g JSON. Explore the world with Ruby e.g. Where do you find gold? Look for the economy / resources section. What countries have the most internet hosts? What countries have the most proven crude oil reserves? And so on. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!

Day 1 - Ruby Advent Calendar 2017 - blockchain-lite - Build your own blockchains

Hello, welcome to the Ruby Advent Calendar 2017. The idea is: 25 Days of Ruby Gems / Libraries from December 1 to December 25. Let’s kick off the series on Day 1 with blockchain-lite - Build your own blockchains with crypto hashes; revolutionize the world with blockchains, blockchains, blockchains one block at a time! Cheers. PS: You’re welcome to send in your articles (about your library / gem of choice) too!

Loading older posts