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.

Podcast interview with Eileen Uchitelle about Rails Core

How does the Rails core team work? How are new features planned and implemented? How can I contribute? What should I do if I find a security issue in Rails? Our guest is the newest Rails core team member Eileen Uchitelle (@eileencodes) joins Table Xi senior developer Andrew Horner and host Noel Rappin (@noelrap) to discuss Rails, the new testing features in Rails 5.1, and the Rails Core Team. [more inside]

Pluck deeply into nested associations

pluck is great when you simply want the attributes without the need of model construction. But if you want to pluck associated models’ attributes, you unfortunately can’t. deep_pluck allow you to pluck deeply into nested associations without loading a bunch of records. And DRY up your code when using #as_json.

Tutorial: Uploading files in your Rails application

Uploading files into your Rails application has never been easier, and with the a wealth of useful gems around to help there’s no better time to be working with files.In this tutorial, I’m going to run through uploading an image. https://atech.blog/atech/file-attachments-in-rails-tutorial

Just curious, is there anything that you were missing in Shrine?
To be honest, I hadn’t heard of Shrine when I wrote Attach. From what I can tel…

tty-editor v0.2.0

The latest tty-editor provides revised #open api that allows to distinguish between file and text content opening. It also adds support for Windows. Enjoy and happy hacking!

How to change the default new line delimiter in Ruby

One of the core pillars of motivation is having the opportunity to use some form of autonomy at the work that you do. Ruby programming language allows you to do just that with a lot of its built-in features. It gives you the ability to override methods of basic built-in classes, methods and also attributes. One such attribute in which we will focus on this article is the ability to change the default new line delimiter. http://www.fatosmorina.com/change-default-new-line-delimiter-ruby/

Loading older posts