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.
Cuprite: headless Chrome Ruby driver for Capybara
Ferrum + Capybara = Cuprite Cuprite is a driver for Capybara that uses Ferrum — a minimal-dependency pure-Ruby driver for running headless Google Chrome instances. [more inside]
Learn Ruby on Rails as a developer
Throughout my journey as a Ruby on Rails developer, many developers asked me.. SEE MORE
Maintaining Sanity with Ruby Under A Lockdown.
I detail how Ruby’s helping me keep my mind off the pandemic and how I’m dealing with social distancing: https://emmanuelhayford.com/maintaining-sanity-with-ruby-under-a-lockdown/
jQuery plugins in Webpack without jQuery
Turns out, not all jQuery plugins are created equal. Some work without jQuery at all, which can be an especially helpful thing to know when adopting Webpack in place of the Rails asset pipeline. https://rossta.net/blog/you-might-not-need-jquery-with-webpack.html
Open-sourcing Vessel: a high-level Ruby web crawling framework
Vessel is a fast, open source, high-level, web crawling and scraping framework for Ruby, built on top of Ferrum — a minimal-dependency pure-Ruby driver for running headless Google Chrome instances. [more inside]
It's Easy to Build: Custom docs project | Part 1 - MD to HTML
In this first part of the series - It’s Easy to Build: Custom docs project, we’ll learn how to convert our markdown text to an HTML code using Ruby. Link to blog post
Auto Rubocop
Automatically applies rubocop safe auto correct to modified ruby files in your project, thus increases your code Karma. https://gitlab.com/mindaslab/auto-rubocop
Truemail 📨 web API client library for Ruby
Truemail web API client library for Ruby has been released 🚀: https://github.com/truemail-rb/truemail-ruby-client
Rails adds Enumerable#pick method
Slick but useful method. It also improves ActiveRecord::Relation#pick
method. https://blog.mechanicles.com/2020/03/29/rails-adds-enumerable-pick-method.html
Adjusting RuboCop's defaults (survey)
With RuboCop 1.0 right around the corner I’ve kicked off a short survey about the current defaults. Your input would be most welcome!
Automating Release cycle activities
Let us use automation tools to build a robust and automated release process activities https://medium.com/@shihadeh/automating-release-cycle-activities-56046398a38b
Collect and Store Rails Console Logs
Start controlling rails console sessions and collect their commands and logs https://medium.com/@wshihadeh/collect-and-store-rails-console-logs-c1982781c28d
cURL wrapper around RubyGems.org API
I just developed a basic cURL wrapper around RubyGems.org API. Enjoy! [more inside]
Webpacker 5.0 released
Get to know what’s new in Webpacker 5.0 - the default JavaScript compiler for Rails apps [more inside]
Chaskiq with third party API integrations
Hi, I’m very happy to announce that we’ve released some API integrations on Chaskiq.io (the open source alternative to intercom). The new integrations are: Facebook Messenger, Whatsapp, Slack, Twitter, Calendly and Zoom! Check our repo at https://github.com/chaskiq/chaskiq & Have a nice chat!
Why and How to Host your Rails 6 App with AWS ElasticBeanstalk and RDS
When you deploy a new Rails app, you typically face a double-bind. If you use an easy platform like Heroku, you could create problems for yourself as your application scales. If you use a more fully-featured platform, you risk wasting time on ops that could be spent on your product. What if you could have both: an easy deployment option that is easy to scale? In this article, Amos Omondi argues that AWS Elastic Beanstalk gives us both, then he shows us everything we need to know to get a Rails 6 app up and running on EB. https://www.honeybadger.io/blog/rails-6-aws-elastic-beanstalk/
render_async Fires Events By Default
The new version brings a couple of good news in these rough times. [more inside]
Enums as constants in Ruby DSL
Check out my latest post describes how to deal with enums and safety in your pure Ruby application.
ViewComponent v2.0.0 released
ViewComponent is a view component framework for Rails built by and used at GitHub, compatible with the support for 3rd-party component frameworks coming in Rails 6.1 and backwards compatible with Rails 5+, previously known as ActionView::Component.
Sinatra bootstrap application
For quite some time now, I’ve been developing some Sinatra applications, one of the things I love about Sinatra is it’s modularity, but I also miss a lot of features which I have to add all the time. That’s why I created an opinionated bootstrap application which has configured Activesupport, Activerecord, Sidekiq and some other goodies. [more inside]