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.
RubyMotion Testing Tools
Wrote up a quick blog post about the tools RubyMotion developers have available for testing. [more inside]
Gem release - Capistrano 3 Monit integration
I just launched capistrano3-monit. I extracted this from a project i’m working on, so it’s currently in a very initial stage, but so far it’s working, and pull requests are more than welcome
chruby 0.3.8 and ruby-install 0.3.3 released
chruby 0.3.8 and ruby-install 0.3.3 have been released, containing minor bug fixes. chruby and ruby-install are small, fast and stable alternatives to RVM and rbenv.
Asset Pipeline without the hair pulling: Sprockets Better Errors
Make the asset pipeline and sprockets development experience a joy to work with by adding the Sprockets Better Errors gem to your project.
How to write tests for Rack middleware
I realized there was not a lot of information on testing Rack middleware independently from any Rails or Sinatra application. So I wrote a post about it.
Using Ruby's each_with_object
I just wrote an article about Enumerable#each_with_object.
Build a Ruby Gem Email Source - Week of Hustle - Day 4
I just posted my daily update on launching a Build a Ruby Gem Email Course.
ARGF in Ruby
ARGF is an underused element in Ruby, but it makes writing well-behaved Unix utilities pleasingly straightforward.
Sharing Rails Sessions With Non-Ruby Apps
I just wrote an explanation about sharing Rails sessions with non-Ruby apps and what I discovered in the process..
Rails Community has a Security Problem
Remember January 2013? A major vulnerability was found in Rails and the whole community got riled up: blog posts, rushed security audits, impromptu email alerts… No one really expected it in the Rails world because Rails was considered so “secure.” Then a new disaster came: RubyGems—the heart of any Ruby project—was compromised; several companies started to consider migrating their projects to Python or Java. This was clearly a serious problem… [more inside]
Create visual roadmap and changelog from GitHub projects with RoadChange.com
We’ve just launched a small web-app RoadChange.com that creates roadmap and showing all the changes for your project from ROADMAP.md & CHANGELOG.md files from the root path of your project’s GitHub repo.
Pick of the week: PullReview in Action (by Ramon Porter)
Ramon Porter Test-Drives PullReview (Automated Code Review for Ruby in Github) and shares his findings.
The making of Build a Ruby Gem Email Course - Day 3
I’m launching an email course on Building a Ruby Gem. Follow my progress!
Using Polymorphism to Make a Better Activity Feed in Rails
You won’t find polymorphic partials in Rails’ API documentation. However, the general programming technique of polymorphism can be applied to Rails partials.
Ruby's Array#count has some superpowers
What do you do in Ruby when you need to get a count of elements in an array? You use methods like count, size or length. Ok, but do you know what’s the difference between those methods? I’m not talking about Rails and ActiveRecord and the different approaches each of these methods take to return a count. I’m talking about plain old Ruby.
You know how to use ActiveRecord, but do...
You know how to use ActiveRecord, but do you know how it works? [more inside]
Simulating a Market in Ruby
I’ve participated in markets in one way or another for about a decade now but I haven’t really understood how they work at a base level. Yesterday I built a tiny market simulator to fix that.
Build a Ruby Gem Email Course - Week of Hustle - Day 2
I’m launching an email course on Building a Ruby Gem. You can follow my progress.
Delayed Jobs in Rails: Adding Custom Attributes
I had written a post about adding custom attributes to delayed jobs in rails.
The 15 best gems for ruby on rails web applications
I just wrote a post about the 15 best gems for ruby on rails we use in our web applications.