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.
TheOpenCMS. Web site has been launched and weekly report #6
Hi there! Release v0.1 is done. I’ve just launched a web site TheOpenCMS.org! YAY! Feel free to come, find and report bugs. Also you can check the Changelog vol. 6
Magic sprinkles for Capybara and PDF
Some magic sprinkles of config that I needed to get right to have pdf tests working well with capybara. http://www.rojotek.com/blog/2017/04/16/magic-sprinkles-for-capybara-and-pdf/
“Naming Things is Hard”
“Naming Things is Hard” This phrase is often brought up in our Ruby programmer community so I thought I’d take the time to address it.
4 Features to Watch For in Rails 5.1 beta
Link: 4 Features to Watch For in Rails 5.1 beta [more inside]
Let's build a new language together 😁
Hi, It’s me again. I am looking for anyone who is also interested in develop Rooby together, which is a new object oriented language I created recently (written in Go). It looks just like Ruby for now because it’s mainly inspired by it. But I want it to be a new language and start developing its own feature when it gets more mature. [more inside]
Security Checklist for Rails Applications
The Zen Rails Security Checklist provides a list of security measures to be implemented when developing or auditing Ruby on Rails applications.
How I use bookmarks in RubyMine to have more focus
In two scenarios mainly: [more inside]
Writing Efficient Queries in Rails
“Balancing performance and memory footprint is crucial to writing good software.” Link: Writing Efficient Queries at codeship [more inside]
Deduplicating Large Data With Rails
Storing and retrieving large chunks of data from your database can be tricky if it’s not done correctly. What happens when you want to store a large chunk of text that is likely to be identical for thousands of new records? Learn how to deduplicate large data in this blog post http://www.cheynewallace.com/deduplicating-large-data-with-rails/
KMS has got demo website
It was several times when I was asked to add some kind of KMS demo website. Here it is - http://demo.getkms.com/. [more inside]
Issues with ActiveRecord find_by_*
An overview of some unexpected behavior from ActiveRecord dynamic finders. http://seejohncode.com/2017/04/12/rails-find-by-issue/
You Don’t Have to Fail While Installing Ruby on Rails on Windows 10
This tutorial explains how to properly set up Ruby on Rails working environment on Windows 10. This might be especially helpful for those who prefer Windows on their work computer. https://www.nopio.com/blog/rails-environment-windows-10-setup/
Oligarchical Saas with CanCan
What happens when your large, production SaaS application relies on CanCan, but you have a small pool of high value clients who can’t agree on what they want their roles’ abilities? One of my latest posts dives into the real world problem, the code, and offers a solution that won’t leave you pulling your hair out. [more inside]
Turning a data set into a game
Some notes on a side project around turning a data set into a game.
On Design Patterns
Rubyists have always had a strange relationship with design patterns. They smell a little too much Java, like people in starched shirts and ties writing serious software for humorless people. Yet Ruybyists use and rely on patterns just like all developers. We’ve even been known to have the occasional religious war over them. Lets take a look at design patterns; where they come from and where they’re going. [more inside]
The Rubyist's Guide to Memoization
This article covers one of my favorite techniques for improving performance: memoization. It’s a source of easy little performance wins that eventually add up and only occasionally reduce your application to a heap of smoldering rubble. Only very occasionally. - http://blog.honeybadger.io/rubyist_guide_to_memoization/
Ruby Under The Hood: Memory Layout of an Object
You will learn how much memory a Ruby object needs & a fun experiment you can try! http://www.blackbytes.info/2017/04/memory-layout-of-an-object/
Slim down hefty Rails controllers AND models, using domain model events
Learn how to put your controllers on a diet without bloating your model classes, using the observer pattern (but not Rails Observers!). A refactoring screencast and article from the RubyTapas archives, now free to all.
Beyond `tail -f`: powering up your sleuthing skills with Logstash+Kibana
You’ve likely stared into the abyss of a seemingly untraceable bug, exception, or performance problem. In this guide, I show how to use the ELK stack + lograge to build a powerful investigation platform for a Rails app.
Rails: Configuration over Convention
Use the AController class to load an AModel instance, then render it using a_template.html.erb. In this blog post, we throw Rails conventions out the window and learn just how much you can customize the usual model/view/controller interaction through configuration. We’ll expand your understanding of how your app’s components work together.
Ruby-like language written in Go
Hi, I am currently working on an project called Rooby, it’s an Ruby-like object oriented language written in Go. I already support some important features like: [more inside]
[GEM] Dockrails - Simple CLI to Generate and Run a Rails environment with Docker!
Many of us have been struggling to setup a usable and efficient docker development environment for Rails App. [more inside]