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.

factbook.json & gem - Turn the World Factbook into Open (Structured) Data w/ Ruby

Hello, for some more info and background about the factbook gem and the free public domain factbook.json datasets and the C.I.A. World Factbook - I’ve put together talk notes titled “factbook.json - Turn the World Factbook into Open (Structured) Data” for the Open Data Vienna meetup. Enjoy. PS: Trivia quiz: What country has the most crude oil - proved reserves (according to the World Factbook)?

An in-depth tutorial on Ruby blocks

Using Blocks in Ruby is a free excerpt from the Head First Ruby book. It demonstrates what blocks are and why they exist, then walks you step-by-step (with extensive diagrams) through the flow of control in a program that uses blocks. If you’ve struggled with blocks in the past, this is the best tutorial out there!

Swift for Javascript and Ruby Developers

I recently presented on the topic of learning Swift from the perspective of a developer currently familiar with Ruby or Javascript. I showed off some of the reasons why Swift is a pretty exciting language for those used to working with lightweight scripting languages, and I also demonstrated some example code that highlights similar functionality implementations across all three languages. Check out the presentation here.

How to change source for Active Model?

The nice thing about Active Record scopes is that you not only can specify where conditions. I recently had a need to run a query against a model to discover previous and next elements. This can be easily achieved using window functions. The trick was to change Active Model to use the query instead of the table.

Gemsmith 8.0.0

Happy to announce a major version release of Gemsmith. This is a powerful tool for building professional-grade Ruby Gems with an emphasis on modern design, security, and high code quality standards. Also supports publishing to RubyGems or private gem servers. For further details, check out the v8.0.0 Changes.

Your first Progressive Web App on Rails

New JavaScript APIs are making it possible to deliver mobile app-like experiences on the open web—think: offline access, background sync, push notifications. “Progressive Web App” technology is still very young, but has a lot of promise and it’s time Rails community took notice. In this post, we’ll demonstrate how to turn your Rails app into a Progressive Web App using the serviceworker-rails gem. https://rossta.net/blog/make-your-rails-app-a-progressive-web-app.html

Flexible, ORM-agnostic, fully customizable and simple OAuth2 provider for Grape API

GrapeOAuth2 gem adds a flexible OAuth2 (RFC 6749) server authentication and endpoints protection to Grape API projects with any ORM/ODM/PORO. It is extremely customizable and configurable and can be used with any ORM/ODM or even Plain Old Ruby objects.

@Nikita you need to fix the link, the correct one is https://github.com/nbulaj/…
@Kaloyan thanks, fixed!
Loading older posts