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.

Spree Infinite Scroll

Instead of pagination on products page, products are fetched and rendered as the user scrolls down. [more inside]

abc20180823 atlanta braves jerseys uggs outlet store pandora charms oakley sung…
chenlina20181117 http://www.air-jordans.org http://www.kevindurantshoes.us.com …
http://www.true-religionoutletstore.us.com http://www.christianlouboutinshoessa…

Revert change on ActiveRecord::Relation#order method monkey patch to keep Rails 4.0.0 order behaviou

Did you like the Rails 4.0.0 ActiveRecord#order behaviour? Well it’s going to dissapear soon. If you’re interested about the reasons and you want to keep it for a bit longer - it’s worth looking at my post: Revert change on ActiveRecord::Relation#order method monkey patch to keep Rails 4.0.0 order behaviou

Multi tenancy with Devise and ActiveRecord’s default scope

Ryan Bates, in this screencast shows how to implement multi tenancy with default scopes, using subdomains. In this blog post I show how to implement the same model of multi tenancy using Devise for the authentication layer, and without subdomains. This is useful when you don’t want or can’t use subdomains or for example when you only enable subdomains as a premium feature, meaning that your application needs to have multi tenancy both with and without subdomains. [more inside]

Loading older posts