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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Introducing hanami-cli
Introducing hanami-cli: a general purpose Command Line Interface (CLI) for Ruby. Learn why Hanami replaced thor in favor of hanami-cli and how to use it to build a CLI application in 5 minutes. https://lucaguidi.com/2017/10/10/introducing-hanami-cli/
Could We Drop Symbols From Ruby?
A potentially controversial thought experiment here. Could symbols simply be replaced by frozen, immutable strings? [more inside]
Ruby Dev Summit: A Free Online Event for Rubyists
It takes place October 16-21 and has a lot of great speakers including Matz and Michael Hartl (of Rails Tutorial fame). [more inside]
ActiveRecord: biting the hand that feeds you
The HN comment thread on Schneems’ How I Reduced my DB Server Load by 80% post was reduced to debating the merits of using ActiveRecord…or not. I think it’s easy to miss the bigger picture when you focus on one performance problem.
The 95/5 Guide To Ruby and Rails 5
If your goal is to build a solid foundation that you can expand on to become a professional software developer who uses Ruby, Rails and related tools to create value for yourself, employers and/or clients, checkout The 95/5 Guide To Ruby and Rails 5
[Screencast] Basic Testing Introduction in Rails
Using the Rails 5.1.X defaults, we have a look at what is configured and explore the different types of tests; using the provided MiniTest and Capybara. https://www.driftingruby.com/episodes/basic-testing-introduction-in-rails#comments
Vanilla Rails
This is an approach to Rails apps centered around minimising dependencies and keeping your app lightweight. http://pooreffort.com/blog/vanilla-rails/
Docker development environment for humans.
Don’t want to learn a whole -bunch –of -commands_with_flags/just -to run_rails or other_things? https://github.com/surzycki/picobox [more inside]
How to find records where column is not null or empty in Rails 4 or 5
This is a very typical usecase for some older apps which did not use NOT NULL. http://blog.arkency.com/rails-how-to-find-records-where-column-is-not-null-or-empty/
Implementation of PDF Streams and Filters in HexaPDF
Find out what PDF streams and filters are, how they are implemented in HexaPDF and why fibers play a big role: https://gettalong.org/blog/2017/pdf-filter-implementation-in-hexapdf-using-fibers.html
A very quick and short guide to using ActiveRecord outside Rails
It’s just a few lines but sometimes they come in handy - http://blog.arkency.com/how-to-connect-to-and-use-activerecord-outside-of-rails/
Versioning REST APIs: The Theory and Using Grape in Ruby
I took a stab at explaining what are the popular API versioning strategies, how to implement each of them and how the Grape gem provides these solutions out of the box. Read the article here.
Extracting a Method to It's Own Class
If you’re like me you like seeing real code examples of how others are doing things. This is a small example of how I extracted a method into it’s own class, the basics of what I looked for and the basic benefits I think I gained. See the Blog Post for more…
Deep dive into Cloud coding
Cloud Coding is a method of developing software on a remote VM. In this article I’ll give you some insight on benefits and the flow. [more inside]
A crazy idea: could we drop Symbols from Ruby?
Check it out: http://blog.arkency.com/could-we-drop-symbols-from-ruby/ especially if you’ve been hit too many times by the distinction as well.
FREE Online Ruby Conference - Matz and Uncle Bob speaking
FREE online Ruby conference. (That's right, no travel/hassle.) [more inside]
RubyData Workshops
New workshops on Data Processing are being scheduled by the RubyData community. [more inside]
On Bundler 2.0 compatibility
Bundler 2.0 will create lock files that are not backwards compatible. Let’s see why these changes have been introduced and what this means for users and tool makers.
Node JS vs Ruby on Rails. Which is the best for web development
The choice of technology is always the important thing. One of the latest discussions in the web community is dedicated to such technologies as Node.js and Ruby on Rails. In our Node.js vs Ruby on Rails research, we will shed some light on both technologies’ advantages and disadvantages in order to help facilitate your choice. https://activebridge.org/blog/node-js-vs-ruby-on-rails
EuRuKo 2017 talks shortlist
Last week I attended the 2017 European Ruby Conference in Budapest. Here is a shortlist of the talks I enjoyed the most and some thoughts on the conference in general. [more inside]
Real World Ruby apps
Real world Ruby apps and their open source codebases for developers to learn from. “Just Ruby”: no frameworks like Rails or Sinatra.