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.
10 Most Recommended Ruby Programming Books 2017
Today we are going to tell you what our team recommends as top 10 Ruby books. If you are looking for resources to learn Ruby, you found them here. https://blog.active-bridge.com/10-most-recommended-ruby-programming-books-2017#post
10 new features in Ruby 2.5
Check out some new worthy features in Ruby 2.5 https://blog.jetbrains.com/ruby/2017/10/10-new-features-in-ruby-2-5/
Replacing Mocks With Hand-Written Test Doubles
Mocking in tests can be troublesome. This article shows one way to fix some of those mocking troubles.
Free tool: Rails Testing Grader
Rails Testing Grader lets you quickly compare your basic test suite and CI metrics to the rest of the industry. It’s based on a sample of 1,000 commercial Rails apps of all sizes that run on SemaphoreCI.com. Check it out & I hope you have fun with it!
Replacing RVM/Rbenv/Nvm/etc for ASDF
I have been running with ASDF for several months and it’s very stable, low on resources and very useful. Think of one tool that can replace RVM, rbenv, virtualenv, nvm, and any other version manager for any language you might need. Yes, a one-stop shop for any developer, just read about it
A complete Todo App in less than 100 lines of code in Ruby
Screencast of implementing the TodoMVC benchmark app in Hyperloop (fka. Reactrb) https://www.youtube.com/watch?v=gtL4kAKUt_g&feature=youtu.be
Announcing rom-factory
rom-factory is a data generator built on top of rom-rb, we just released version 0.5.0 with support for associations and other cool features. Check out the announcement.
Visualizing Rails Logs With Jupyter Notebook
Jupyter Notebook is an open-source web application that allows you to share documents with embedded live code. [more inside]
ROM 4.0.0 Released: The Ruby Object Mapper
New features include automatic mapping, automatic struct object inference, and support for custom struct namespaces. [more inside]
Authentication with GraphQL, Relay, and Rails
Here’s how you register users and log them in and out in a Relay-on-Rails application. This piece covers the back-end implementation, only, so you’ll need to know how to implement Relay mutations on your preferred client.
Ruby's Exceptional Creatures
Exceptional Creatures is Honeybadger.io’s documentation of Ruby’s exception system, with a twist. Collect them all!
Octotrack - automatic dependency and security manager for ruby apps
A simple yet powerful tool to keep your dependencies updated and free of security issues. octotrack.com
Application Services - 10 common doubts answered
Long post with code examples going into many details about Application Services and most common questions about them. Might change your opinions :)
[Screencast] Feature Testing with Capybara
Create Acceptance Tests or Feature Tests to extend your automated tests with browser testing. It can help tests some areas that cannot be reached with other types of tests. https://www.driftingruby.com/episodes/feature-testing-with-capybara
Please stop calling it "magic"
A rant on why the latest trend of calling all metaprogramming “magic” is not really good for the community.
Rails Upgrade - 7-Step Practical Guide
I documented a 7-step Rails upgrade guide based on our recent experience of performing multiple Rails upgrades on medium-sized app, interested to get feedback from ruby community - http://teohm.com/blog/rails-upgrade-practical-guide/
Bridging Rails & Node.js with gRPC
A guide on how to use Google’s gRPC framework to enable painless cross platform communication. [more inside]
Socket Progamming - Playing around with ChatServer
Sockets are the endpoints of the communication channel, both clients and servers have to use sockets to communicate. Once a connection is established you can put data into your socket and it will make its way to the other end, where the receiver will read from the socket to process incoming packets. [more inside]
Loaf - mean & lean breadcrumb trails
The newest loaf has been fundamentally changed to provide even more flexibility and separation from view concerns. You can now specify how breadcrumbs are matched using new :match option and then render them using breadcrumb_trail view helper. It supports Rails >= 3.2. Enjoy!
A quick guide to Rails system tests in RSpec
RSpec 3.7 enables support for Rails 5.1 system tests, here’s how to use them. [more inside]
7 Gems Which Will Make Your Rails Code Look Awesome
Get your awesome gems here => https://blog.rubyroidlabs.com/2017/10/7-gems-rails-code/