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.
Sinatra Pusher example for realtime chat applications
I just knocked up an extremely simple application which uses Pusher app to integrate realtime chat to your web application. The application provides a nice start for someone looking to work with Pusher for realtime notifications and such. The application can be found here.
My gem for easy creating gh-pages is ready for beta-testing
If you need some opportunity in creation of github pages (or if you just lazy a little) - check this gem out
Introducing sheet: text snippets for the command line
I just launched sheet, a text snippet utility for the command line.
Learning with Terror...VM
I just blogged about some thoughts I got as a Ruby programmer about my recent experience diving into the low-level, dirty world of application Virtual Machines, building one myself.
Michael Hartl's Rails course on sale for 50% off
StackSocial is running a 2-week sale on the newest Rails 3 video tutorial by Michael Hartl of RailsTutorial fame - Normally $129, but only $59 during the promo.
Apple dropped MacRuby
Following Microsoft who dropped IronRuby in 2010, Apple dropped MacRuby.
Rails Internals: Inside Active Model Attribute Methods
First in a series of posts about Rails internals: Rails Internals: Inside Active Model Attribute Methods.
Cached Resource Updated
Cached Resource has been updated to be a little smarter about caching collections. [more inside]
Campy - a tiny Campfire Ruby client so you can get on with it
I released campy yesterday to slim down my dependency chain in a few projects (no requirements for streaming, locking rooms, etc.). It’s implemented on top of Net::HTTP and only requires the multi_json to deal with older Ruby versions. The Ruby library is pretty simple and it ships with the campy command for command line scripting. $ campy speak 'So enjoy!'
ActiveRecord::Base.store - Pros, Cons, and Usage
With the release of Rails 3.2 came a host of new features, in particular ActiveRecord. In this post, I discuss some of the pros and cons which come with using ActiveRecord::Store.
Why Is My Web Service API Crappy?
Christopher Miles has a great article: Why Is My Web Service API Crappy? and it’s definitely worth a read if you’re building externally facing APIs.
Global Hack Day #3 is today! (Apr 5)
The idea of having weekly or monthly hack nights has worked great for Ruby users groups all over the world, but the folks at Mendicant University feel like the internet deserves a similar kind of event. [more inside]
How to protect your model's fields + CanCan reinvented
We’ve released Heimdallr, comfortable black-list security restrictions for an ActiveRecord objects on a field level + controllers protection. Read the introduction article. [more inside]
Super Charge your Rails App with Rack Cache and Memcache
Get more performance out of your Rails app using Rack::Cache and memcache (with graphs, yay!). Works with Heroku!
Measuring Site Speed with Navigation Timing
If your job is to think about web performance, then you need to approach it from a users perspective: use Navigation Timing to measure true latency, leverage Site Speed reports in Google Analytics, and focus on the shape (distribution) of the performance data! A hand’s on look at the spec, and sample GA reports.
Building and implementing a Single Sign-On solution
In my latest blog post I show how to implement a SSO solution.
DSL to write pure web API applications
For more than a year now, I’ve been developing a DSL to write web services. The DSL has been used in production on major PS3 games and other web applications. To help people getting started with the DSL, I released a ‘mini-framework’/example application using the DSL on top of Sinatra, check it out. [more inside]
Getting Rid of Code Smells
I started a series of posts about refactoring towards removing common code smells. Here’s the first post about the attribute smell: solnic.eu/2012/04/04/get-rid-of-that-code-smell-attributes.html
debugger - fork of ruby-debug19 that works on 1.9.2 and 1.9.3
No more painful installs for a 1.9.3 debugger! Just released debugger 1.0.0 which should install easily for rbenv/rvm rubies. This fork also doesn’t download ruby source during the install. For more, see it’s readme.
VIM for Rails developer - An experience
Santosh wrote a neat blog on his experience on VIM and how he overcame the hurdle of not being productive syndrome VIM for Ruby on Rails developer - An experience.
Why I Built Ruby Off Rails
I just launched Ruby Off Rails because Ruby is awesome, and people should learn it before copying/pasting code into Rails. Here’s my story why I built it.
Rails isn't for beginners
I’ve just written a post on Rake Routes: Rails Isn’t For Beginners
Exploring Ruby’s Regular Expression Algorithm
Ever wonder what happens inside of Ruby when you execute a regex search? Find out here: Exploring Ruby’s Regular Expression Algorithm.
Konacha: JavaScript Testing on Rails
For those looking to test heavy (Backbone-type) JavaScript applications on Rails, I’ve posted a Konacha tutorial.