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.
simple-admin v0.2.0-alpha released
simple-admin is an efficient and convenient framework for creating admin dashboards in an instant. Is a new way to customize your admin panel, demo.
Awesome Ruby Meetups in Europe, America (North • South), Africa, Asia, Pacific
Hello, I’ve updated the awesome ruby meetups page @ Planet Ruby. For (easier) updating every contintent has now its own page - Europe • America - North / South • Asia • Africa • Pacific/Oceania. Updates welcome :-). Note: The online version is an all-in-one page again, see Awesome Ruby Meetups. Happy hacking together. Cheers.
Updated I Love Ruby
Hello People, have updated my Ruby book I Love ruby. Its a minor update where online resource section was updated. Please grab it here https://mindaslab.github.io/I-Love-Ruby/
Ruby on Rails & RSpec - base test method everyone should know
Mostly, writing a spec you would like to stub classes used in a class that you are testing. We don’t want to hit the database if it’s not needed. Read more at http://pdabrowski.com/blog/ruby-on-rails/testing/rspec-simple-stubs/
What's Up in 2018/1? - Ruby Conferences & Camps from Around the World
Hello, I’ve started a new calendar site @ Planet Ruby. The idea is to publish monthly updates. What’s Up in 2018/1? - Ruby Conferences & Camps in January 2018 from Around the World. Cheers.
Event-Driven Microservices with RabbitMQ and Ruby
While event sourcing as an architectural pattern is useful to understand, it is not commonly used when starting a new project or service, which generally start their life as simple CRUD applications. Event sourcing works best when chosen as a top-level architecture for a new service from the start. Learn how to implement Event-Driven Microservices with RabbitMQ and Ruby
Build your own Ruby on Rails validations and use them like the default ones
Sometimes built in validations are not enough so we have to write our own validation rules. Because of this, our models can become fat really quick so the best idea to avoid it is to extract validation logic to separated classes. Such approach makes the code more clean, isolated and reusable - http://pdabrowski.com/blog/ruby-on-rails/validations/building-custom-validator/
This Is Not the Type You're Looking For (Exceptional Creatures)
Ruby’s TypeError is raised when encountering an object that is not of the expected type. TypeError appears in many other places, such as when converting one type to another using built-in conversion functions like Integer() and Hash(). Check out an example of using TypeError in some Ruby code.
Tutorial: deploying your Rails app via AWS Fargate
AWS Fargate lets you run Docker containers without managing infrastructure. Learn how to deploy your Rails app via AWS Fargate in this step-by-step video tutorial and blog post.
bootstrap_form 4.0 release planned for 2018
The bootstrap_form gem makes it easy to build beautiful forms with Bootstrap styles using the built-in Rails form helpers. The project has been around for several years and has over 1MM downloads. This year, after a brief hiatus, we are revamping bootstrap_form to support Bootstrap v4 and planning a big release. If you use bootstrap_form today, take a look at our roadmap to 4.0. We are always happy to welcome new contributors!
How to Speed Up Assets Precompilation Time in Ruby on Rails App
Every Rails developer know that asset loading may be really time-consuming. Here are some useful tips on how to speed it up: https://www.netguru.co/codestories/speed-up-assets-precompilation-time-in-a-rails-app
Building an App That Makes It Easy to Learn Japanese Characters (Rails & ReactJS)
A few months ago, I started learning Japanese for fun. I started with Duolingo app, but my smartphone had just died and I had to continue learning from my laptop. Unfortunately, it wasn’t possible… http://bamboolab.eu/blog/building-an-app-that-makes-it-easy-to-learn-japanese-characters-setup-rails-and-add-reactjs
Ruby (and Rails) Conferences in 2018 Around the World - What's Upcoming in 2018?
Hello, trying to collect all ruby (and ruby on rails) conferences (and camps) around the world in 2018. What’s upcoming in 2018? See the events page at planet ruby. Anything missing? Updates welcome. Cheers.
Compiling ruby - code and the presentation
I was interested in how the bootsnap gem works and found this Github repo.
The most important Ruby gems for testing
Test faster, better and easier your Ruby on Rails app with 4 most useful gems. Do you already use them? READ MORE
Private Attribute Reader
Utility gem to easily declare private attribute readers in the same way you currently declare attr_reader [more inside]
My Notes about a Production-grade Ruby on Rails Deployment on Google Cloud Kubernetes
I’ve been learning and managing a Kubernetes Engine deployment on Google Cloud. I shared some bits in this blog post and would love to have insights and suggestions as well.
Design Patterns in Ruby: Strategy Pattern
Design patterns can be powerful conceptual models for thinking about how to solve problems in software development. I wrote about implementing the Strategy Pattern in Ruby, using Devise/Warden as a practical example. [more inside]
The Definitive Guide to Loops in Ruby
There are many ways to write a Ruby loop. How many do you know? In this article you will learn how to use methods like times, each_with_index & the while keyword. https://www.rubyguides.com/2018/01/ruby-loops-guide/
Ruby on Rails - the method of work that will help you to create the best code
You may write tests just without any plan but if you want to build a Ruby on Rails testing routine that will make your code better please meet testing cycles: red, green, refactor - http://pdabrowski.com/blog/ruby-on-rails/testing/red-green-refactor-cycle/