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.

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.

A Rubyist's Guide to Big-O Notation

Big-O notation gives you crucial insight into why your apps aren’t as fast as you’d like them to be. In this post we’ll uncover the meaning of things like O(N^2) and show how to use these concepts to speed up your apps and your database queries. - http://blog.honeybadger.io/a-rubyist-s-guide-to-big-o-notation/

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.

[Screencast] Getting Started - Ruby on Rails - Development Environment

Here is a simple workflow of setting up a new development environment. From Homebrew, ZSH, Atom, and RVM, learn how to easily get your macOS environment up and running. https://www.driftingruby.com/episodes/getting-started-ruby-on-rails-development-environment

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.

Testing Rake Tasks with RSpec Feature Specs

There’s nothing worse than getting into the office, only to find out that one of your nightly rake tasks threw an error and didn’t complete. You get to a point where testing all the pieces in isolation just isn’t good enough. It’s time to be confident that all of the pieces will work together. Time to start testing your Rake tasks with RSpec feature specs

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