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.
File-replicator gem
file-replicator gem ads two command line executables to your toolbox, one that splits files and another to put them back together. They have a good initial set of options that makes them flexible enough for almost anybody. Though they are meant to work as a team, those two are not magicians and other tools can work on their product too.
Wannabe Bool gem
If string, numeric, symbol and nil values wanna be a boolean value, they can with the new to_b method. Moreover, you can use WannabeBool::Attributes module to create predicate methods in your classes. Read more
make_model_searchable v0.2.1 release
make_model_searchable adds simple searching functionality to active record models. No need to implement same search function for each model every time! Read more
pastel v0.7.0 release
Newest pastel fixes color capabilities detection and support on Windows. Make them strings colourful!
tty-color v0.4.0 release
The new version tty-color fixes both mode and color? to work on Windows systems without printing warnings and errors.
i18n-tasks v0.9.8 adds key refactoring
i18n-tasks v0.9.8 adds the long-awaited support for moving, merging, and removing keys from the command line via the new mv command! Read more
Isolate Global State
Global state is handy for development, but evil to maintain. We’ll learn from Hanami source code how this was a problem and how we fixed it.
Another take on Primitive Obsession
Primitives like Array and Hash are not always the right choice. This post (#1 in a series of… probably only 2) outlines why you really do need to create custom collection classes. Read more
[Screencast] Sidekiq on Production
Sidekiq is a Ruby Background Processor that manages its queue with a Redis service. Learn to deploy Sidekiq to your production environment. https://www.driftingruby.com/episodes/sidekiq-on-production
How to zoom image with pure JavaScript
I believe that every shopping website has ability zoom the product image. All of them are using jQuery plugins such as jQuery Zoom or EasyZoom After I think how would I implements this plugin I realized that we do not need jQuery for that. So let us go step by step and implement image zoom without jQuery.
Adding Libnotify to Minitest
Create plugin for libnotify for your minitest suite
What's new in Ruby 2.4?
Ruby 2.4.0 has just been released. In this post, we will look at some of the interesting new features in Ruby 2.4.
AnyChart JS Charts released 2 integration templates for data visualization with Ruby
AnyChart JS Charts has just released 21 integration templates that facilitate adding interactive JavaScript-based charts, maps, stock graphs, Gantt charts, and dashboards to HTML5 apps, no matter what technology stack is used. In particular, there are 2 special templates for Ruby on Rails:
Safer Rails database migrations with Soundcloud's Large Hadron Migrator
Learn how to handle migration in big tables without causing deadlocks in your applications using Soundcloud’s solution
PropertyWebBuilder - Open Source site builder for realtors / estate agents
Finally, an alternative to WordPress for creating real estate websites quickly. Can be deployed to heroku in minutes.
Opensourcing KMS Catalog extension
If you need simple catalog feature (i.e. categories, products, product properties, variants) on your KMS website, the easiest way to add it is to use KMS Catalog extension. Read more
Best Books to Learn Ruby on Rails
Our new blog post series will recommend best Ruby on Rails books worth reading. To make things clear, we have divided this collection into separate parts according to the lev of experience. Read more
Test test things that matter
What does it mean to write good specs for your application? I encourage you to take a look at the guide, that could help you to understand it. Read more
Handling BigCommerce Webhooks in Ruby on Rails application
A tutorial to handle Bigcommerce webhooks inside your Ruby on Rails application. Read more
Access BigCommerce API from Ruby on Rails Application
A tutorial to Interact with BigCommerce using its Rest API with Ruby on Rails application
Ruby on Rails meets BigCommerce
A detailed tutorial to setup Bigcommerce store, to create an application in Bigcommerce App store and then integrate it with Ruby on Rails application. Read more