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.
Metaprogramming in The Wild
How are some of the most popular open-source projects making use of metaprogramming? http://www.blackbytes.info/2016/04/metaprogramming-in-the-wild/
Ruby Methods: differences between load, require, include and extend in Ruby.
One day, as your code grows, you may find it hard to organize your application. At this point, the best idea is to split your code into several files. [more inside]
Rails Emoji Picker 0.1.5 was released!
A lot of bugs were fixed since the first release. Now rails emoji picker is ready to use Heroku Example - Example on Heroku Github Repository - Rails Emoji Picker [more inside]
Simple Multitenancy with Rails and Pundit
Minimalist way to get a multitenant Rails app up and running. http://andrewmarkle.com/2016/04/06/multitenancy-with-pundit.html
One Rails App With Many Databases
Scale an existing Ruby on Rails application by using multiple databases and engines: http://www.blrice.net/blog/2016/04/09/one-rails-app-with-many-databases/
Client-side Action Cable with Rails 5
Here is a gem that will allow the use of easy Action Cable protocol in native ruby apps: https://github.com/NullVoxPopuli/action_cable_client
Application Performance Monitoring with New Relic
Ensuring the performance of an application is as important as the application itself. And that can be done with New Relic which is a performance management system. It provides in-depth information about your Ruby on Rails application as it runs in production.
Free GitLab Pages w/ Static (Web)Site Builders e.g. Jekyll, Middleman, Nanoc, etc.
Hello, GitLab now offers free GitLab Pages that lets you build your (web)site with any static (web)site builder in ruby e.g. Jekyll, Middleman, Nanoc, and so on. See pages.gitlab.io or read “Hosting on GitLab.com with GitLab Pages” by Marcia Ramos to get started. News bytes via @statictimes - follow along for more news about all things static (is the new dynamic).
New Community Link-Logs Launched, Coders-Log.com
I really love RubyFlow and JSLive but they are only limited to Ruby and Javascript. I needed a place to put my Unix/Linux & Cordova/Ionic articles. I have released Coders-Log.com which currently provides the topics Unix and Cordova with more topics to be added on request. https://coders-log.com
Gem Denshobato - the easiest way to make messaging between models.
Denshobato is a Rails gem that helps models communicate with each other. It gives simple api for creating a complete conversation system, check it out - Github Repo: Denshobato
How To Monkey Patch A Class In Ruby
This article describes how to properly monkey patch classes in Ruby. http://solidfoundationwebdev.com/blog/posts/how-to-monkey-patch-a-class-in-ruby
We Work With Ruby
We Work With Ruby is live.. Post Ruby, Rails jobs or create Ruby Developer profile and let companies find you..and it’s Free [more inside]
Ecto for Rails developers — The basics
How we introduced Elixir and Ecto into our Ruby stack. http://renderedtext.com/blog/2016/04/07/ecto-for-rails-developers
Working with Heroku, Rails and Webpack
Deployment of a Rails app that uses Webpack to Heroku is tricky because it requires both Node.js and Ruby. After various unsuccessful attempts, I had a solution that worked without customizing Heroku buildpacks. I wrote a post on that: http://crypt.codemancers.com/posts/2016-03-18-rails-webpack-heroku/
Introducing The activerecord-collection_cache_key Gem
Thanks to Dan Drinkard… today we are releasing a backport gem of a new feature in Rails 5— cache keys for ActiveRecord collections. It tracks fairly closely with the implementation seen in the Rails source but has a few minor differences arising from support back to AR 3. We’ve certainly been missing this feature for a long time and hope it comes in handy.
Be lazy and don’t keep context in your head
A very short refactoring, illustrating how it’s better to write down context in code, than to remember it. http://rubyclarity.com/2016/04/be-lazy-and-dont-keep-context-in-your-head/
Realtime notifications on your desktop of your rails apps.
Receive realtime notifications on your local machine if something happens in your rails apps. Link: https://github.com/ndea/notifyor
Reading Rails
A series of blog posts that will be dealing with reading open sourced code available on github. Yup we are going to read the source code of the Ruby on Rails framework. Part 1 of the series.
Documenting your Rails API
This article is about producing documentation for your Rails API, what tools are available and how to think about it.
Rails ApiController and Concerns
How I used Rails ActiveSupport::Concern to clean and structure the code of my rails-api-base Rails 5 RESTful api template, and how I tested it: post I and post II.
Picguard - The New Gem For Face Recognition & Image Processing
Hey, I would like to show you the latest Ruby gem released by developers in my company, Netguru. It utilizes Google Vision API to automatically recognize human faces in images (w.g. when an app uses avatars) or identify inappropriate (violent/adult) content. Check out more details: Netguru Presents: Picguard - Visual Content Processing In Rails