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.
ScriptCore - a mruby sandboxie for user's dynamic logic (safe eval)
ScriptCore based on Shopify’s ESS, it’s a mruby sandbox to run untrusted codes (usually written by users), ESS powered Shopify Scripts, and ScriptCore wrapping ESS (with some modifications) to easy to integrate with Rails apps, and I took a video to show the dummy app: https://twitter.com/jasl9187/status/1061674632380481536
Type assertion with Ruby 2.6
With RubyVM::AST in 2.6 we can write more beautiful type-assertions: [more inside]
Headless browser testing with capybara-chrome
Test your latest Javascript with the most popular and modern web browser: Chrome. QtWebkit has become increasingly difficult to install, and requires shims for most modern Javascript techniques. Now you can swap out capybara-webkit for capybara-chrome and never worry about re-installing qt again. [more inside]
Migrating from Paperclip to Active Storage
My first challenge as an intern: https://blog.codeminer42.com/migrating-from-paperclip-to-activestorage-b37ef187fb17
Should you learn using VIM?
Any VIM users or haters here?🤔 Share your thoughts in the article’s comments!🗨️ https://driggl.com/blog/a/should-you-start-using-vim [more inside]
ElixirConf 2018: Thoughts on Elixir from a Ruby developer
Elixir has had my attention for awhile now and my interest in the language and community hasn’t wavered. ElixirConf offered me an opportunity to translate that interest into action. As an experienced Rubyist, I am pleased with my development experience, community support, and the capabilities of Ruby. Elixir offers these same benefits and adds features such as concurrency, fault tolerance, and speed to the mix. [more inside]
Testing Asynchronous Threads in Ruby
🦇 Laundry day at the Batcave. Testing asynchronous threads in Ruby explained. https://blog.appsignal.com/2018/11/06/testing-asyncronous-threads-in-ruby.html
Passenger 5.3.6: fixes smart spawning
Passenger 5.3.6 has been released. Most notably is the smart spawning fix, but it also includes fixes for frustrating warnings on macOS >= High Sierra, and gemset detection on RVM 1.29: https://blog.phusion.nl/2018/11/06/passenger-5-3-6-fixes-smart-spawning/
OS time: working on open source during company time
We get to contribute to open source software at Phusion, like through maintaining the frontapp gem. Initially scratching our own itch, outside contributions make working on it really worth the while: https://blog.phusion.nl/2018/10/31/os-time-working-on-open-source-in-the-boss-time/
Tinkering with developer documentation: creating an ePub
Taking feedback on the new Docs to heart, we tried rendering an ePub from the documentation. A tale of (plenty) HTML errors: https://blog.phusion.nl/2018/10/31/tinkering-with-developer-documentation-creating-an-epub/
How lag isn't always a bad thing
Redesigning the Passenger Docs using React, and then rewriting it in Ruby (Middleman), rendered some interesting challenges and insights: https://blog.phusion.nl/2018/11/05/how-lag-isnt-always-a-bad-thing/
Why You Should use JekyllRB and Netlify CMS for your site
In this post, we will answer a question of why you should use JekyllRB with NetlifyCMS for your website. We pointed out things we enjoy about each technology, why they matter for our (and probably yours too!) website and some alternatives. Why You Should use Jekyll and Netlify CMS for your site
Awesome Ruby Security
A curated list of awesome Ruby Security related resources: https://github.com/pxlpnk/awesome-ruby-security [more inside]
Eventide 1.0: Evented, Autonomous Microservices for Everyone!
The Eventide Project community is excited to announce the 1.0 release of Eventide: the best microservice, autonomous service, event/reactive, and event sourcing toolkit built in Ruby, and one of the best stacks available in any language!
Coverband 3 released, simple fast production code coverage
After lots of benchmarking and refactoring out legacy features and code (+860, -1,606). Coverband 3 is out… Extremely performant Ruby production code coverage. How fast? Around 60X faster! Benchmark details shared.
Ruby Toolbox Community Survey 2018
As we approach the Ruby Toolbox’s 10th anniversary next May, I’ll be working on it as my main project in December and January. I launched a community survey to gather feedback and suggestions - if you have a few minutes, please take the time and check it out, your input is a great help in shaping the future of the Toolbox!
Permission to go faster!
By leveraging native Linux file permissions we are able to deploy quickly, avoid application permission errors, and still maintain file level security! [more inside]
[Screencast] Grab Bag of Ruby and Ruby on Rails Tricks
In this episode, we look at various tips and tricks. https://www.driftingruby.com/episodes/grab-bag-of-ruby-and-ruby-on-rails-tricks
RubyCademy
Some Ruby & Ruby on Rails courses adapted to the developer’s training needs www.rubycademy.com
How to use sklearn machine learning models in your Rails app
Learn how to use machine learning models developed with Python and scikit-learn in your Rails app here.
Efficient Rails DevOps, third edition
I just released the third edition of Efficient Rails DevOps, a complete rewrite sporting more than 40 pages of additional content with lots of improvements, finally supporting both CentOS and Ubuntu operating systems and giving you the choice between MariaDB and PostgreSQL (the discount code “rbflw” still gets you $5 off).
correios-cep bug fix released
correios-cep version 0.6.8 has been released with a parsing bug fix, since Correios API is now omitting "complemento" XML node in its responses. https://rubygems.org/gems/correios-cep/versions/0.6.8 [more inside]