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.
Combining show_for and stonewall
I put together a simple plugin called show_for_stonewall and just put a quick blog post about using it. [more inside]
RoundHouse - Rails Hosting Support just launched!
If you need help supporting a Rails app or managing servers, we’re starting a service with a pool of experts to help you get great sysadmin support: RoundHouse. Please read our announcement and take a look!
Code Reading Capistrano's internals
I’ve started off this week’s Code Reading series on Capistrano with a in deep look into how it converts the cap deploy command into a deployment recipe. If you’ve never looked at the internals of Capistrano, I’d recommend looking all the work it does behind the shell.
Design Patterns in Ruby: Abstract Factory
I just posted an article about Abstract Factory, the first pattern we see in the series “Design Patterns in Ruby”.
Frank 0.3.0 static site non-framework
Frank 0.3.0 is ready. Some pretty nice features in this release. We added META data, a new way to handle layouts, current_page variable, lorem field replacement text, and the auto refresh helper that will completely change your life. `gem install frank’ and enjoi.
Design Patterns in Ruby: Introduction
With this post I would like to start a serie of articles concerning the description of the most common design patterns and how these can be applied with the Ruby language.
Rake Tasks 102
This is a follow up post to Rake Tasks 101. In the 101 post we created Rake tasks, setup dependencies and made our tasks reusable by passing in parameters. In Rake Tasks 102 we’ll be building on those practices, interfacing with a Rails environment and leveraging the cron to automate our Rake task.
I’ve got a sizable commute, so I’ve ...
I’ve got a sizable commute, so I’ve taken to downloading conference videos and converting to MP3 to play in the car. Most work reasonably well as speech-only, I’m finding. In hopes of helping others, I’m posting them here.
Calling a JRuby method from Java
Here’s an example of calling a Java interface method implemented in JRuby from Java
RubyKaigi 2010 Conference Registration now open
RubyKaigi 2010 —August 27th through 29th, 2010 @ Tsukuba International Congress Center, Tsukuba, Japan — is now open for registration. [more inside]
Authlogic, RSpec and :priority_record=>nil... wtf.
I think Authlogic is great. I think RSpec is great, but did I ever give myself a confusing error.
business_seconds gem - extensions for business time
I created gem business_seconds. It enable calculate business seconds between two times. It dependend on business_time gem.
John Muhl is added to the Radiant CMS core team
There’s a quick post about it on the Radiant blog.
The Road to Passenger 3: Technology Preview 2
The focus of this Technology Preview is on stability, robustness, availability and self-healing ability.
Creating a 100% ajax CRUD using rails 3 and unobstructive javascript
Just finished posting about that here Simple tutorial: [more inside]
Install Ruby as a non-root User
For app developers who don’t have root access to their Linux server - there’s hope! You may be able to install Ruby as a non-root user.
Video: Tom Preston-Werner & Github's Architecture
The latest webpulp.tv episode is up. Tom talks about a ton of stuff including Grit, Chimney, Unicorn, Redis and Resque, etc.
Vim Tips for Developers
I just wrote a post about useful Vim commands for developers - things that have been hard to find up to now.
Continuous Integration
I just released an episode of the Teach Me To Code podcast about Continuous Integration. Give it a listen!
Fixing Long Key Lengths in MySQL
How to fix long key lengths in MySQL using Rails migrations
5 Rails Plugins to Help Optimize Your MySQL
Optimizing your MySQL queries can be a pain. Using these plugins can help!
Aspect4r API and execution model
I have blogged about Aspect4r API and execution model recently. They should bring you a good understanding on how it works and how it can be used. If you have not give it a peek, now is the good time. As always, any suggestions/comments are welcome.
Need to pull some files from production ...
Need to pull some files from production to staging/testing/development? We now have daps for that. It’s like taps but for files!
Rails Best Practices 1: Fat Model – Skinny Controller
I’ve just published the first post about Rails Best Practices about Fat Model - Skinny Controller