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.
After using Sublime and Vim for several years, I switched to Atom a year ago, and have not missed one feature from the other two so far. Here are the packages, preferences, and tips I recommend for getting the most out of this great open source editor. [more inside]
Are you using Thoughbot’s shoulda gem with Minitest? How about strict validations in ActiveRecord? I think these are great things to add to your Rails backpack of tools. Here’s why.
Here are some lessons I learned during a recent project that hit the Google Directory API using the google-api-client gem.
rspec-api_helper was just released and helps you test your JSON API without parsing and scraping your own API endpoints.
An option to disable Rails Turbolinks, installation of the Bundler gem (because RVM no longer installs it automatically), fixed errors with Haml and Slim, and added the rails-stripe-membership-saas example application. See the blog post about Updates to Rails Composer for details.
After many years of development, we realized our app had become too complex, causing development, testing and debugging to be much harder - to solve this problem we used RabbitMQ, moving some functionality outside of main app: http://warolv.net/blog/2015/04/27/splitting-your-app-into-smaller-apps-using-rabbitmq/
The final SOLID principle is known as the Dependency Inversion principle. Arguably the most important of the five principles, the Dependency Inversion principle can be thought of as a culmination of the principles preceding it. Systems that abide by the other SOLID principles tend to follow the Dependency Inversion principle as a result. [more inside]
Hello, over at the Planet Ruby the Gem of the Week series continues with #17 - datapak - that lets you work with tabular data packages (.csv files w/ datapackage.json) using SQLite (w/ ActiveRecord). Full article. Cheers.
PStore is an super-easy persistence layer for building scripts that you can run, and run again without fear of failure or duplicate execution. [more inside]
aquam helps you to define Finite State Machines with a very simple DSL which also will validate events, states and the transition between them. [more inside]
A quick example of how to find out which gem a Rails helper comes from when the method name is ambiguous, such as
icon. [more inside]