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.

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.

File-replicator gem

file-replicator gem ads two command line executables to your toolbox, one that splits files and another to put them back together. They have a good initial set of options that makes them flexible enough for almost anybody. Though they are meant to work as a team, those two are not magicians and other tools can work on their product too.

Loading older posts