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.
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
Using GraphQL, a Ruby on Rails introduction
A quick introduction to using GraphQL with Ruby on Rails! [more inside]
How to add a uniqueness DB constraint for multi tables?
A short post to share how to add uniqueness DB constraint when models are on different tables: http://marouenbousnina.com/add-unique-constraint-for-multi-table/
Beautiful, interactive charts and tables for Ruby on Rails https://reportskit.co
ReportsKit lets you easily create beautiful, interactive charts and tables. [more inside]
Ruby on Rails - test easily your sign in with social network feature
Option to sign in or sign up with Facebook, Twitter or any social network is a nice feature in every app. It’s obvious how to test such feature in unit tests but things become harder to test if we want to write acceptance tests. READ MORE
Building custom search is hard and boring
A few thoughts about building search functional again and again and again. Also to be continued :) https://blog.arkency.com/building-custom-search-is-hard-and-boring/
Cleaning up: Rails 5.2 ActiveRecord::Dirty API changes
If you’re planning a Rails 5.2 upgrade, check out some of the changes to the AR::Dirty module: https://www.ombulabs.com/blog/rails/upgrades/active-record-5-1-api-changes.html
Ruby's New JIT
Ruby is about to get way faster. Check out Ruby’s new JIT.
DHH Speaking
screencast from DHH https://www.youtube.com/watch?v=m1jOWu7woKM&t=4s
7 Ways Continuous Delivery Helps Build a Culture of Learning
At the heart of continuous delivery is a fast feedback loop that shows us the effects of our work. It can help build an organizational culture of learning and responsibility — if we approach it the right way.
How Are Symbols And Strings Different?
Learn about the difference between symbols & strings! Including some advanced stuff about symbol GC. http://www.rubyguides.com/2018/02/ruby-symbols/
learn Ruby, Sinatra, Rails and friends quickly
here you go, ambitious Ruby programmer… [more inside]
MySQL JSON Support for Rails 4
Projects currently working with Rails 4 aren't able to natively work with MySQL 5.7's JSON. The gem JSON on Rails adds native Rails support for it, opening up interesting use cases. [more inside]
Humming along - Analyzing RubyGems stats for 2017
What was 2017 like for the Ruby ecosystem? What gems are growing in popularity and which are declining? Analyzing RubyGems stats for 2017