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.
RubyElixirConf Taiwan 2018 ticket available now
RubyElixirConf Taiwan 2018, successor of RubyConf Taiwan is a three track and semi-international conference and will be held between 2018/4/27-28 at CHANG YUNG-FA FOUNDATION International Convention Center Taipei; tickets are available now at https://goo.gl/2nJAzX.
RSpec – fix randomly failing tests easily
A randomly failing test is one of the most annoying moments during test creation process. Mostly, such spec doesn’t fail in our development environment but on Continuous Integration service. There is a way to detect which spec causes this issue. Read more
The anatomy of search pages
What kind of components do we need to use to make a great search page? Let’s have a look. https://blog.arkency.com/the-anatomy-of-search-pages/
Ruby Unconf 2018 Hamburg, Germany
The very first Ruby Unconf takes place on 5th and 6th of May in Hamburg, Germany and will provide an open, accessible and inclusive event for the Ruby community. You can actively participate by proposing topics, giving talks and by discussing the topics you think are worth presenting. [more inside]
Wallaby: a newcomer in the admin interface market
Are you struggling to choose between ActiveAdmin and Rails Admin? Just to confuse you even further, there is a now a third option: Wallaby. https://reinteractive.com/posts/351-wallaby-a-newcomer-in-the-admin-interface-market
The @VanityFair fake-news on Rails - Twitter (all over again)
I am very disappointed when traditional news keep posting the same old memes all over again. To shed some light, this is my Quora answer on the subject and this an old interview (from 2008) with Blaine Cook, original Twitter dev.
Ruby string literals VS Value objects. Overengineering?
A guide on how to get rid of string literals in Ruby with Rails 5 Attributes AP http://jetrockets.pro/blog/ruby-string-literals-vs-value-objects-overengineering
Ruby on Rails – immediate mail delivery in development
Emails are very important part of almost every Ruby on Rails application so it’s important to test them well during the development process. Learn how to test emails easily
Object-Oriented Views in Rails. How to deal with views complexity
During working on one project we faced with a complex logic that included 5 user roles, 8 components, etc. We tried different solutions like using a separate namespaced controller, partials and helpers. But there was a better solution - cells. [more inside]
Running Tests with Guard and Docker
In this tutorial, you’ll learn how to set up Guard in a Docker container. Automatically run tests as you update your app’s code, all within an isolated container. chrisblunt.com/ruby-on-rails-running-tests-with-guard-and-docker/
Top Trending Jekyll (Static) Website Themes by GitHub Stars @ Dr Jekyll's Themes
Hello, I’ve updated all 200+ Jekyll (static) website compiler themes at the Dr Jekyll’s theme directory / listing. The trending page shows the fastest growing (by github stars/month) themes. Congrats to Michael Rose for the outstanding #1 Minimal Mistakes theme. Happy publishing with Jekyll and friends.
Hm: idiomatic chainable hash transformations
Hm provides a small, idiomatic, no-monkeypatching DSL for transforming deeply nested hashes (renaming and removing keys, converting values, merging subhashes and more).
SEO Tips for Programming Blogs and Technical Bloggers using jekyll in 2018
I’ve noticed that many programming blogs I read don’t implement certain SEO techniques, and bloggers could be missing valuable traffic opportunities. I will describe a couple of search engine optimization tips which can improve your technical blog’s SEO ranking and search results position in 2018. I will cover topics like Google’s Featured Snippets, AMP, rendering speed tips and social media meta tags. [more inside]
RSpec - does your test tell a story?
When you think about tests you probably think about testing how things work – but how about building the documentation with our tests? You don’t have to do anything extra, you just have to tell a story with your tests and I will show you how. Read more
Ruby on Rails - before_create like hook for your mailers
Please meet interceptors - read more
Compare text differences between two contents (%) using Ruby on Rails
Compare two contents(HTML, JavaScript code or any other text) and find text difference in percentage(%) between them. [more inside]
Active Admin monthly downloads nearly doubled last year
More interesting is that Active Admin has outpaced the competition: http://www.varyonic.com/2018/02/active-admin-monthly-downloads-nearly-doubled-last-year/#.Wog5d5M-dIY
Validate Branch Code Coverage \w SingleCov on Ruby 2.5
SingleCov (more actionable + faster than SimpleCov) now supports verifying branch coverage on ruby 2.5. Check what your tests have been missing all these years :)
Speed up development with aliases for Ruby on Rails commands
Sometimes typing long commands very often is quite annoying. There is a very simple solution for this. You can create an alias for given command. Read more
How to Set Up Bitbucket Pipelines on a Rails 5.2 Environment with react_on_rails and
My team noticed a bit of a gap when it comes to documentation and setting up Bitbucket Pipelines when you have some modern webpack dependencies with yarn. So, we wrote some instructions explaining how we navigated our way through this process. [more inside]
Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What’s News? Update
Hello, I collect Ruby3x3 News & Articles @ Planet Ruby. What’s News? Added: Ruby’s New JIT (Just-In-Time) Compiler by Shannon Skipper, Square, Feb 2018 ++ Slides - VM-Generated JIT (Just-In-Time) Compiler for Ruby 2.6 by Takashi Kokubun, Tech Talk @ OSS Day, Feb 2018 ++ Playing with Ruby’s new JIT: MJIT by John Hawthorn, Feb 2018 and some more. Great to see Ruby getting faster and faster. Any article missing? Updates welcome. Cheers.
How to search by colour in Elasticsearch
How to search by colour in Elasticsearch using searchkick https://www.cookieshq.co.uk/posts/elasticsearch-searching-by-colour