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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Have you seen the Rails Competency Chart? It’s frightening how much you have to know, but it’s accurate. If anything, it’s missing things. So how do you learn everything you need without having started 5 years ago?
When it comes to databases, there’s two schools of thought: those who hate them, and those who love them. Databases can be complicated, especially when you try to query for data from different tables! This blog post explores the secret life of your database using join tables, and includes some cool SQL queries and diagrams to boot!
Setting up Capistrano to deploy your Rails app for the first time is usually challenging. This article walks you through the process of setting up Capistrano to deploy to a Puma web server. Puma is currently the recommended Ruby web server on Heroku.
When a Ruby on Rails application grows over the years it either rots in to a big ball of mud or it gets dissected in to services. What if there was another option? http://teotti.com/rails-service-oriented-architecture-alternative-with-components/
In the last couple of years we’ve developed a new Rails-based CMS we like to call Spina. We use it for most of our clients. We’ve open sourced it and are hoping some people will like it as well. We’re new to maintaining an open source project and would very much appreciate any feedback. [more inside]
Setting up continuous deployment with your own Capistrano setup might seem difficult. This blog post shows how you can automatically deploy your Rails apps using Capistrano and Codeship.
This year Rails 5 will be released and the Railsconf keynote held by DHH presents the rationale behind its latest developments. In the following I’ll show you why I think we are riding the good Rails and how to apply the right amount of criticism around the Rails’ author point of view. [more inside]
Jekyll comes with a built in webserver to preview your blog before pushing it live. By default, it serves up at localhost. This is of course tricky if you are running Jekyll on a cloud based coding platform because localhost is the loopback address and by default, unavailable over the internet. How then do you preview your blog? Find out!
Introduction about Melodiest, a Sinatra application boilerplate generator http://www.railsmine.net/2015/05/introducing-melodiest.html
Learn how to read & write files in Ruby. Fresh tutorial from blackbytes.info http://www.blackbytes.info/2015/05/working-with-files/
Rails does not help much when dealing with AJAX uploads by means of external JS libraries. I recently came across a case where a developer was struggling to use JS to upload a video to a Rails backend. The main reason to use JS was to have a progress bar, something that is missing in the Rails world. In this blog post I’ll show you how to implement the functionality in the simplest case possible. [more inside]
Automatically increment and decrement a “counter cache” in Postgres using functions and triggers!
This week’s screencast takes a round trip through the Volt framework by building a realtime chat app in under 10 minutes.
This month we opened up the Call for Proposals website for the 8th edition of Rubyconf Brasil. We’ve been running this conference for 8 years in a row and it’s the largest Ruby conference in Latin America amassing around 1k attendees. Also, if your company is interested in reaching out to this large Ruby community, let us know. We will have a brand new conference format this year, read the description at the CFP site.