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.
AlchemyCMS looks like the perfect CMS in terms of it’s architecture and flexibility. It’s the best way to give your users freedom of changing page content while keeping everything under control in terms of structure and design. You don’t have to worry about your users messing up the view because they’re lacking the technical skills to write proper html/css. Read more
Rails offers a less error prone Hash collection type along with added some additional methods for convenience. http://6ftdan.com/allyourdev/2015/05/28/rails-hashwithindifferentaccess/
Just wrote a blog post about Form objects on rails, please enjoy: http://codingwithaxe.com/my-take-on-form-objects/
I wrote a post about how I’ve been simplifying my Active Record scopes that reference other models.
Libgrader helps you find documented, actively maintained gems. Similar to Ruby Toolbox and Awesome Ruby, libgrader can help you choose the right gems to integrate with by highlighting the gem’s license, dependencies, documentation, upkeep, activity, alternatives, and more. (Created by Aaron Lasseigne.)
I’ve published a screencast and article on using the awesome Sequel gem to work with databases. Enjoy!
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]