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.

A mock server in Ruby

After the initial release of the mock server many months ago, I have now a stable version available for open use, with improved documentation and some test coverage. The server makes it easy to set up mock data for ReST endpoints to aid the testing of client applications (API consumers). Set up mock once and use across multiple clients that may have been implemented in different codebases and technologies. Can be used for both manual and automation testing. The server is based on Sinatra and backed by sqlite. https://github.com/mvemjsun/mock_server

Language (flash) Card game 'language_cards' released! via @6ftdan

Command line game for learning languages in flash card style is here! Full internationalization and auto-import YAML card sets for adding your own flash cards. Currently implemented is Romaji to Hiragana & Katakana for learning Japanese. See the project at danielpclark/language_cards or simply “gem install language_cards”. You can contribute to the language files without any Ruby knowledge, but Ruby devs are most welcome!

Common Rails Idioms that Kill Database Performance

Many of the most common ActiveRecord idioms produce SQL which doesn’t scale well as your dataset gets larger. In this article I discuss three of the worst offenders and offer work-arounds. http://blog.honeybadger.io/common-rails-idioms-that-kill-database-performance/

A “must read”, I even think RubyFlow suffers from the problem described at the …
Link is broken.
The link works great for me, @ADAM.

Super simple ruby decorators

I wanted to have model decorators, accessible from anywhere but in separate namespace. [more inside]

I personally prefer plain old decorators: https://gist.github.com/yukas/7d68…
I use https://ruby-doc.org/stdlib-2.2.1/libdoc/delegate/rdoc/SimpleDelegator.ht…
One thing I found lacking with various decorator implementations is that they a…
https://bogdanvlviv.github.io/posts/ruby/patterns/decorator-pattern-in-ruby.htm…

My book 'Learn Ruby on Rails' free on Google Play

The first book in my series Learn Ruby on Rails is now available for free on Google Play. I’m making the book available as widely as possible. It is also free on Leanpub or Softcover, thanks to support from a Kickstarter campaign. If you’ve got a friend who has made a New Year’s resolution to learn to code, the book could be a good place to start.

Book one is free but book two is not.
Loading older posts