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.
In depth look at Radiant's Page#find_by_url
I’ve written up some details about how Radiant manages finding content and how you can override that behavior for your own needs. There’s a quick summary at the top of the post if you’re in a hurry.
BackendFu
I just launched BackendFu an internal project that we are trieing to build into something usefull for startups and web applications. Looking for people who can use this sort of thing. Please subscribe for the beta, I’ll keep you updated.
rake-hooks after and before hooks for each task
I just launched rake-hoos, to add and after and before hooks to each task.
Integrating Rails with Twitter
Check out how you can easily integrate Twitter with a Ruby on Rails application on this blog post. It also comes with an example application that can be accessed here!
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. Read more
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
Custom Subdomains in Rails 3
Solution for user selected subdomains with the Rails 3 router.
RubyKaigi 2010 Conference Registration now open
RubyKaigi 2010 —August 27th through 29th, 2010 @ Tsukuba International Congress Center, Tsukuba, Japan — is now open for registration. Read more
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: Read more
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