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.
Torba gem managing frontend dependencies
Torba is a Ruby gem that I discovered recently. It allows you to easily define your frontend assets in a rails project. Sick of all those JS package managers, asset gems and bower/bower-rails? Try Torba!
Refactoring of CreateSend: part 1
I wrote a post where I refactor a class from an open-source Ruby library. On the first glance, the code looked good, but as I dived in, I found lots of stuff to improve.
Virtual Attributes in Rails 5
The sixteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn all about Virtual Attributes in Rails 5
Flipflop, improved feature toggles
Flipflop lets you declare and manage feature flags in your Rails application. An improved version of Flip.
Rails 5 ActiveRecord where, find_by, or, not and Eager Loading
The fifteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn all about Rails 5 ActiveRecord where, find_by, or, not and Eager Loading
Parallel processing in Rails
During my last work on commercial project I came up with idea to create ThreadsPad gem for parallel processing. For instance, you have a huge csv file with hundred lines and you need to parse it. To make it faster you can devide parsing process into a few workers…. Here is more details about it
Trending Ruby Repos in Asia
See http://trending.rubyasia.com. Explore Ruby Repositories with at least 20 stars in Asia. Open Sourced under https://github.com/jollygoodcode/data.rubyasia.com.
qcloud-cos-sdk published
I just publish qcloud-cos-sdk, a Ruby SDK for qcloud cos. If you use qcloud cos in your Ruby project. I think it will help you. learn more
Performing Calculations on Models in Rails 5
The fourteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn about Performing Calculations on Models in Rails 5.
Hunting down a slow Rails request
See how we used Skylight.io to track down a slow Rails request.
Debug Ruby/Rails in Visual Studio Code (a perfect RubyMine alternative)
VS Code allows users to extend its functionality for grammar, intellisense, or even debugging, so I wrote this extension called vscode-ruby to bring VS Code the ability to debug ruby/rails/etc. Read more
Social Share Button Gem for Rails 5 Apps
Learn how to add Social Share Buttons for Rails 5 Apps
Dangers of Model in Rails 5 Session
The thirteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn about the Dangers of Model in Rails 5 Session
Announcing dry-rb
We’ve officially launched and announced dry-rb organization along with releasing new major upgrades of dry-validation and dry-types.
HOWTO send email with Rails and Amazon SES
HOWTO send email with Rails and Amazon SES. Learn how to setup your Rails application to send email via Amazon SES using version 2 of the official AWS SDK for Ruby.
Mutual TLS authentication to protect your Rails admin panel
Let the browser also authenticates itself against the server with a client-side certificate. How to set up the web server (full config here) and Rails to check the certificate contents: http://blog.codeship.com/how-to-set-up-mutual-tls-authentication/
The Simple Yet Powerful Ruby Enumerable Module
Leigh Halliday looks at the methods of the Enumerable Module: Article here.
Pronto v0.6.0 released
Pronto keeps getting better at providing a quick automated code review of your changes. Check out the CHANGELOG for the latest features/changes/fixes and Pronto.
Model Tests in Rails 5
The twelfth episode of Railscast is now updated to Rails 5 as a blog post. Learn how to write Model Tests in Rails 5
The Power of Arel
If you’re using Ruby on Rails, chances are you are already familiar with ActiveRecord. If not, ActiveRecord is an Object Relational Mapping (ORM). Under the hood, ActiveRecord uses a relational algebra library called Arel to compose queries for execution. Arel is a very powerful library readily available for when ActiveRecord falls short..
Ruby Bits: Each with object
New series of posts with small but interesting things about #Ruby:
Sorcery Gem with Rails 5
Learn how to use Sorcery Gem with Rails 5
How to Custom Devise for Ajax Authentication
In this article, I’ll show you step by step to custom devise which sign in/up by ajax:
How to make your next Rails upgrade easier
Here are some thoughts on how to make your next Rails upgrade easier.
Intention vs Implementation in software engineering
These slides illustrate how Feature implementations or even feature requests themselves sometimes confuse the “why” and the “how”. Even if the resulting code works, it makes business logic’s intentions disappear, which costs in both understanding and maintenance.