Everyday news from (and about) ruby community and developers. Add your drop to stream. Best drops wil be published in the next Ruby Daily.Ruby Daily stream Tumblr (3.0; @rubydailystream)http://stream.rubydaily.org/RubyDailyhttps://feedburner.google.comAn Object That Behaves Like a File?<a href="http://www.blackbytes.info/2017/05/stringio-objects/">An Object That Behaves Like a File?</a><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/giK9NxEXSzk" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/giK9NxEXSzk/160788761195http://stream.rubydaily.org/post/160788761195Thu, 18 May 2022 05:32:46 +0300http://stream.rubydaily.org/post/160788761195Mock server built using Sinatra and backed by SQLite<p>A mock server to easily setup mock responses for HTTP URLs. Can be Used to test client applications manually and using automation. https://github.com/mvemjsun/mock_server</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/AufXBq3cwp0" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/AufXBq3cwp0/160785553258http://stream.rubydaily.org/post/160785553258Thu, 18 May 2022 03:42:07 +0300http://stream.rubydaily.org/post/160785553258Instrumenting Sidekiq<a href="https://drivy.engineering/sidekiq-instrumentation/">Instrumenting Sidekiq</a>: <p><span>Monitoring your taskqueue to get deeper visibility on usage trends, find out slow jobs or queue congestion.<br/></span>Here’s how we do it with a Sidekiq middleware, InfluxDB and Grafana.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/YLjzkXSngBY" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/YLjzkXSngBY/160782516977http://stream.rubydaily.org/post/160782516977Thu, 18 May 2022 01:51:12 +0300http://stream.rubydaily.org/post/160782516977Your own free PaaS with Dokku and Let's Encrypt by @R4yTr4cer<div>There are many online services that provide an efficient and relatively cheap entry-level PaaS (e.g. Heroku, EngineYard), but what about self-hosted alternatives? This post will show you how to build a self-hosted PaaS to host web applications in almost any modern technology (inc. <strong>Ruby</strong>, Node.js, Go and more) in around 15 minutes. </div> <p><a href="https://blog.ragnarson.com/2017/03/28/your-own-free-paas-with-dokku-and-letsencrypt.html" target="_blank">https://blog.ragnarson.com/2017/03/28/your-own-free-paas-with-dokku-and-letsencrypt.html</a></p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/q3PpqEj2V5o" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/q3PpqEj2V5o/160775765083http://stream.rubydaily.org/post/160775765083Wed, 17 May 2022 22:09:43 +0300http://stream.rubydaily.org/post/160775765083ActiveModel::Errors API Redesign Initiative<a href="https://github.com/lulalala/rails_error_api_redesign">ActiveModel::Errors API Redesign Initiative</a>: <p>Sometimes ActiveModel::Errors API cannot cope with complex business logic or requirements elegantly.</p> <p>Let’s redesign an API which is suitable for more complex use case. Share with us the inconveniences you have faced, and suggest a better, more usable API!</p> <p>Currently we are at the initial stage, mainly to:</p> <ol><li>Collect use case</li> <li>Design API</li> </ol><p><a href="https://github.com/lulalala/rails_error_api_redesign/wiki" target="_blank">So come to our wiki, see what’s going on, and join us!</a></p> <p>The second stage will then start on 1st July 2017, where we can discuss on how to implement the redesigned API. Maybe we can do it in Rails, maybe we can do a 3rd party library. We shall see!</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/ZbXk4TpG6h8" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/ZbXk4TpG6h8/160772728048http://stream.rubydaily.org/post/160772728048Wed, 17 May 2022 20:18:48 +0300http://stream.rubydaily.org/post/160772728048Dockrails - Simple CLI to Generate and Run a Rails environment with Docker! (by @g_montard)<a href="https://github.com/gmontard/dockrails">Dockrails - Simple CLI to Generate and Run a Rails environment with Docker! (by @g_montard)</a>: <p>Many of us have been struggling to setup a <span>usable</span> and <span>efficient</span> docker development environment for Rails App.<br/>This Gem include a CLI that generate your docker environment then provide a simple command to run it.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/Ao_c7QZx_2c" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/Ao_c7QZx_2c/159508999203http://stream.rubydaily.org/post/159508999203Thu, 13 Apr 2022 03:41:58 +0300http://stream.rubydaily.org/post/159508999203Using Chef and Capistrano to deploy a Rails application on Ubuntu 16.04<a href="https://medium.com/@kirill_shevch/using-chef-and-capistrano-to-deploy-rails-application-on-ubuntu-16-04-fae1dfe0dd12">Using Chef and Capistrano to deploy a Rails application on Ubuntu 16.04</a><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/-NQ5qN5icsA" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/-NQ5qN5icsA/159505764559http://stream.rubydaily.org/post/159505764559Thu, 13 Apr 2022 01:51:27 +0300http://stream.rubydaily.org/post/159505764559Best Books to Learn Ruby on Rails - intermediate level by @ProgRails<a href="https://prograils.com/posts/ruby-rails-books-learn-intermediate">Best Books to Learn Ruby on Rails - intermediate level by @ProgRails</a>: <p>We’re back with the ‘Best Books to Learn Ruby on Rails’ series! This time - intermediate level</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/HAzkKLy9GsM" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/HAzkKLy9GsM/159498737714http://stream.rubydaily.org/post/159498737714Wed, 12 Apr 2022 22:09:41 +0300http://stream.rubydaily.org/post/159498737714Practical Computer Science in Ruby<a href="https://www.blackbytes.info/2017/03/computer-science-in-ruby-stacks/">Practical Computer Science in Ruby</a><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/gBgEZtTAblM" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/gBgEZtTAblM/159495628067http://stream.rubydaily.org/post/159495628067Wed, 12 Apr 2022 20:18:45 +0300http://stream.rubydaily.org/post/159495628067A Rubyist's Guide to Postgresql's Explain<a href="http://www.rubyletter.com/blog/2017/03/13/rubyist-guide-to-postgres-explain.html">A Rubyist's Guide to Postgresql's Explain</a>: <p>If you want to understand why your database queries maybe aren’t as fast as they used to be, nothing beats a little feature of postgres called ‘explain.’</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/fttVxRvdyfM" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/fttVxRvdyfM/159492565592http://stream.rubydaily.org/post/159492565592Wed, 12 Apr 2022 18:28:09 +0300eviedentially-bloghttp://stream.rubydaily.org/post/159492565592How to send responsive Emails using MJML in Rails?<a href="https://blog.botreetechnologies.com/building-responsive-email-templates-using-mjml-in-rails-afb166a5aa1#.bsokfipbm">How to send responsive Emails using MJML in Rails?</a>: <p>Making html email content responsive is hard. MJML <span>makes responsive email easy. This article explains how you can integrate MJML in rails and send responsive emails without much worrying about different email clients.</span></p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/p1N8RNzc3b4" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/p1N8RNzc3b4/158231083337http://stream.rubydaily.org/post/158231083337Fri, 10 Mar 2022 17:58:59 +0300http://stream.rubydaily.org/post/158231083337A Slack bot that helps you to deploy your apps<a href="https://github.com/accessd/slack-deploy-bot">A Slack bot that helps you to deploy your apps</a>: <p><span>Deploy</span> your apps with simple commands:</p> <pre><code>deploy my-awesome-app # deploy my-awesome-app default branch to default environment deploy my-awesome-app to prod # deploy my-awesome-app default branch to prod environment deploy my-awesome-app#my-feature to staging # deploy my-awesome-app my-feature branch to prod environment </code></pre> <p><a href="https://camo.githubusercontent.com/1feb8f0d0aafae46742032d763565cd815efe119/68747470733a2f2f7261772e6769746875622e636f6d2f616363657373642f736c61636b2d6465706c6f792d626f742f6d61737465722f696d616765732f6465706c6f792d636f6d6d616e642e706e67" target="_blank"><img alt="ScreenShot" src="https://camo.githubusercontent.com/1feb8f0d0aafae46742032d763565cd815efe119/68747470733a2f2f7261772e6769746875622e636f6d2f616363657373642f736c61636b2d6465706c6f792d626f742f6d61737465722f696d616765732f6465706c6f792d636f6d6d616e642e706e67" data-canonical-src="https://raw.github.com/accessd/slack-deploy-bot/master/images/deploy-command.png"/></a></p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/mehvD7nOhQI" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/mehvD7nOhQI/157782960930http://stream.rubydaily.org/post/157782960930Mon, 27 Feb 2022 19:19:02 +0300http://stream.rubydaily.org/post/15778296093015 Weird Things About Ruby That You Should Know<a href="http://www.blackbytes.info/2017/02/weird-ruby/">15 Weird Things About Ruby That You Should Know</a><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/ZninWQcuw6Q" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/ZninWQcuw6Q/157779903037http://stream.rubydaily.org/post/157779903037Mon, 27 Feb 2022 17:28:30 +0300http://stream.rubydaily.org/post/157779903037Using Bootstrap 4 with Ruby On Rails<p>A <a href="http://www.lugolabs.com/articles/153-using-bootstrap-4-with-ruby-on-rails" target="_blank">quick walkthrough</a> on how to add Bootstrap 4 to an existing Ruby on Rails application. We use the bootstrap gem to manage the files and updates, and update the stylesheet and JavaScript manifestos.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/KHmhVKGYi48" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/KHmhVKGYi48/157599228140http://stream.rubydaily.org/post/157599228140Thu, 23 Feb 2022 08:14:21 +0300http://stream.rubydaily.org/post/157599228140Generate web fonts from SVG icons with the Rails engine, Iconly<p><a href="https://github.com/lugolabs/iconly" target="_blank">Iconly</a> is a Rails engine that allows you to import your SVG icons and then create web fonts for your projects. It allows you to add only the icons your project needs, not hundreds of them. And if you’ll be using Bootstrap 4, that doesn’t include glyphicons, then you might be needing this. It is also the engine behind the <a href="http://www.iconly.net" target="_blank">Iconly.net</a> website, that allows hosting of up to 5 free projects.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/25eChb8x5Mg" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/25eChb8x5Mg/157595323440http://stream.rubydaily.org/post/157595323440Thu, 23 Feb 2022 06:23:24 +0300http://stream.rubydaily.org/post/157595323440New website for KMS<p><span>Finally I’ve done better website for </span><a href="https://github.com/webgradus/kms" target="_blank">KMS</a><span>. It describes basic features and has good start on documentation. Check it out at </span><a href="http://getkms.com/" target="_blank">http://getkms.com</a></p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/judU6sYn2Vo" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/judU6sYn2Vo/157591666731http://stream.rubydaily.org/post/157591666731Thu, 23 Feb 2022 04:32:47 +0300http://stream.rubydaily.org/post/157591666731Rails Optimization: Introduction to Cache by @ProgRails<a href="https://prograils.com/posts/rails-optimization-introduction-to-cache">Rails Optimization: Introduction to Cache by @ProgRails</a>: <p><strong>As your website grows its loading time starts to increase.  And as the performance goes down, users are getting more and more annoyed waiting for a website to load. At this point, it’s about time to boost the speed of your website and <strong>make it more performant by focusing on website optimization.</strong><br/></strong></p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/-ydXRVj9h7Y" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/-ydXRVj9h7Y/157588084746http://stream.rubydaily.org/post/157588084746Thu, 23 Feb 2022 02:42:09 +0300http://stream.rubydaily.org/post/157588084746Distinct Active Records in has_many through associations<p>A quick reminder on <a href="http://www.lugolabs.com/articles/151-distinct-active-records-in-has_many-through-associations" target="_blank">how to load</a> only distinct collections into Ruby on Rails models with has_many through associations.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/emJcDxeXTcY" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/emJcDxeXTcY/157584017962http://stream.rubydaily.org/post/157584017962Thu, 23 Feb 2022 00:51:05 +0300http://stream.rubydaily.org/post/157584017962Pretty URLs in Ruby on Rails with FriendlyId<p>A quick <a href="http://www.lugolabs.com/articles/148-pretty-urls-in-ruby-on-rails-with-friendlyid" target="_blank">tutorial</a> on how to add pretty URLs in Ruby on Rails with FriendlyId.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/9AsWbwQmpVw" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/9AsWbwQmpVw/156397034168http://stream.rubydaily.org/post/156397034168Thu, 26 Jan 2022 15:37:31 +0300http://stream.rubydaily.org/post/156397034168Rescue exceptions DSL for plain Ruby objects with Rails<a href="http://railsguides.net/rescue-exceptions-dsl-for-plain-ruby-objects-with-rails/">Rescue exceptions DSL for plain Ruby objects with Rails</a>: <p>An article describing how to obtain rescue_from functionality in any class in a Rails application.</p><img src="http://feeds.feedburner.com/~r/RubyDaily/~4/4LBcrBWXFd0" height="1" width="1" alt=""/>http://feeds.rubydaily.org/~r/RubyDaily/~3/4LBcrBWXFd0/156100250212http://stream.rubydaily.org/post/156100250212Fri, 20 Jan 2022 03:04:16 +0300http://stream.rubydaily.org/post/156100250212