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.

bootstrap_form 4.0 release planned for 2018

The bootstrap_form gem makes it easy to build beautiful forms with Bootstrap styles using the built-in Rails form helpers. The project has been around for several years and has over 1MM downloads. This year, after a brief hiatus, we are revamping bootstrap_form to support Bootstrap v4 and planning a big release. If you use bootstrap_form today, take a look at our roadmap to 4.0. We are always happy to welcome new contributors!

Private Attribute Reader

Utility gem to easily declare private attribute readers in the same way you currently declare attr_reader [more inside]

You could also do like def private_attr_reader(*names) send(:attr_reader…
Sorry fo the bad code formatting.
:) all good on the formatting, thanks for the feedback/idea!

Design Patterns in Ruby: Strategy Pattern

Design patterns can be powerful conceptual models for thinking about how to solve problems in software development. I wrote about implementing the Strategy Pattern in Ruby, using Devise/Warden as a practical example. [more inside]

New Planet Jekyll Snippets - Liquify Filter, Auto-Gen TOC, ... Thks @ddprrt

Hello, I’ve added three new snippets to the Planet Jekyll collection, that is, a liquify filter, a toc filter that auto-generates a table of contents, and a liquid tag example with custom includes directory lookup. Thanks to Stefan Baumgartner (@ddprrt) for initialy publishing / sharing the great snippets on the Fett.eu blog. PS: Add your snippets to the Planet Jekyll collection! Updates more than welcome.

strings v0.1.0 initial release

The strings is a set of useful functions such as align, pad, truncate, wrap and more for transforming multiline, multibyte strings with ANSI escape codes. Try it out!

ledger-lite 1.0 - hyper ledger book for the distributed blockchain internet era

Hello, I’ve uploaded the version 1.0 of the new ledger-lite library / gem. What’s Ledger Lite? It’s a hyper ledger accounting book for the distributed blockchain internet era; add your transactions one block at a time; transfer crypto(currencie)s and balance the accounts. Happy new year. Prosit 2018! PS: You might also enjoy the new (free online) Programming Cryptocurrencies & Blockchains (in Ruby) book @ Yuki & Moto Press.

Loading older posts