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.
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! [more inside]
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. https://lucaguidi.com/2016/12/27/isolate-global-state.html
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. [more inside]
[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. https://blog.active-bridge.com/image-zoom-on-pure-css
Adding Libnotify to Minitest
Create plugin for libnotify for your minitest suite http://sirfilip.github.io/minitest-notify
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. https://github.com/etewiah/property-web-builder
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. [more inside]
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. [more inside]
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. [more inside]
Handling BigCommerce Webhooks in Ruby on Rails application
A tutorial to handle Bigcommerce webhooks inside your Ruby on Rails application. [more inside]
Access BigCommerce API from Ruby on Rails Application
A tutorial to Interact with BigCommerce using its Rest API with Ruby on Rails application https://blog.botreetechnologies.com/integrating-bigcommerce-api-with-rails-application-409cf8e9840a#.d2vcdfxy8
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. [more inside]
Learn to crawl and scrape websites with Ruby Mechanize
Learn how to code and ship your Ruby web scraping project faster. Grab your copy of the Ruby Mechanize Handbook, an easy to follow introduction to crawling and scraping websites with Ruby Mechanize. Or check out the HOWTO scrape websites with Ruby & Mechanize guide for free.