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.
Rails and Bootstrap
Resources for Rails and Bootstrap 3.0 from the RailsApps project, with links to an article about setting up Bootstrap and Rails, plus an in-depth tutorial, and a starter app on GitHub.
Arrays and Linked Lists in Ruby
Matz has done a lot of magic in MRI to make arays fast. Rubinius and JRuby do even more, but fast is of course relative in Ruby. Another thing to consider with arrays is memory. [more inside]
ToDo: Deploying the application to OpenShift
This is the last part of the tutorial “Creating a simple ToDo application with Rails”. Deploying the application to Openshift
Resend Devise Confirmation Emails For Incomplete Accounts
It’s slightly frustrating looking through your users table and seeing a bunch of accounts that signed up but never confirmed. [more inside]
Msngr v0.0.1
I recently released Msngr. A light-weight Ruby library for multi-threaded Ruby applications that allows threads to share a single service connection for more efficient messaging.
Nexter: The Next Gem
What is Nexter ? A misspelled tv show or a killer feature ? Not sure but it wraps your ActiveRecord model with any dynamically ordered scope and consistently cuts out the next and previous records. It also works with associations & nested columns : order("books.genre, authors.name, published_at desc")
TheComments 2.2.1
TheComments - commenting system for Rails 4. Version 2.2.1 released
ScriptExecutor: Ruby library for executing shell scripts, locally or on remote server
Convenient tiny library for executing shell scripts, locally or on remote server: ScriptExecutor. And explanation how to use it in your project.
Slackistrano - SlackHQ integration for Capistrano V3
Scratched an itch and released Slackistrano to get Capistrano deployment notifications in our Slack channel.
hello world lightbox
Just for fun, I quickly wrote one simple coffeescript lightbox, or say overlay
Creating a simple ToDo application with Rails - Authentication & Authorization with Devise & CanCan
I just finished writing the third part of the tutorial. Creating a simple ToDo application with Rails - Authentication & Authorization with Devise & CanCan
Flexible Rails Environment Configuration
I just posted about the Flexible Rails Environment Configuration that I use for all my Rails apps.
How to get More Bang for your Heroku Buck While Making Your Rails Site Super Snappy
This blog post provides a number of tips. It is an update of another similar article from a year ago, but the tips have now been updated for the situation in 2013.
Reading Rails - Migrations
Come along and read some of the Rails source with me. [more inside]
Integrating Stripe in your Rails Application: part III
This is part III of a series about integrating a payment system into your web application. While inspired by our own experience, and so Stripe and Ruby oriented, most of the problems and solutions are probably useful in other technical environments. Enjoy - and let us know what you think!
Implementing yield-or-enumerate semantics
Ruby’s core collection classes have a number of methods which return an Enumerator if they are called without a block. A while back I made a quick video showing how to replicate this behavior in your own methods. It’s now free to watch.
Introducing after_do: after/before method callbacks in Ruby
I just released a new version of a gem called after_do, which you can use to easily add callbacks before/after a method is executed. I also wrote an introduction blog post about it - go ahead and check it out! :-)
Sinatra Cookbook - 24 hours remaining on Kickstarter
Back on November 20th I started a Kickstarter campaign to fund an ebook, Sinatra Cookbook, featuring 12 “real world” example Sinatra applications. [more inside]
Gift Ideas for Ruby/Rails devs?
A friend of mine just got into Ruby programming. What are some good gifts for Ruby or Rails devs? Ruby books are always nice but is there anything else out there?
Confident Ruby: A Review
My coworkers just posted our favorite parts of Avdi Grimm’s Confident Ruby.
Speed up your tests with PORO domain models
Here’s a nice blog post on speeding up tests by replacing normal “fat” models with PORO domain models. Speed up test and specs by using PORO domain models.
The Marriage of Figaro… and Rails 👰
Rails just shipped a 4.1 beta with a great new feature: secrets.yml. Learn how it compares to Figaro and other ENV-based solutions like dotenv.
5 architecture anti-patterns and solutions for large Rails apps
Moving into 2014 with learnings from a year of developing a large complex Rails-based marketplace for musicians: 5 architecture anti-patterns and solutions for large Rails apps. Enjoy!
What's new in Rails 4.1
My team mate Godfrey wrote up a nice article on what’s new in Rails 4.1.