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.

Updated I Love Ruby

Hello People, have updated my Ruby book I Love ruby. Its a minor update where online resource section was updated. Please grab it here https://mindaslab.github.io/I-Love-Ruby/

Hello from a fellow Ruby programmer, I have somehow stumbled on the last page o…
Any interest in publishing your manuscripts sources in markdown (on github)? P…

Build your own Ruby on Rails validations and use them like the default ones

Sometimes built in validations are not enough so we have to write our own validation rules. Because of this, our models can become fat really quick so the best idea to avoid it is to extract validation logic to separated classes. Such approach makes the code more clean, isolated and reusable - http://pdabrowski.com/blog/ruby-on-rails/validations/building-custom-validator/

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!
Loading older posts