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.
ruby v. haskell
an algorithmic showdown by a ruby practitioner with declarative aspirations…
ActiveHelper for Rails!
The framework providing a generic OOP helper API just got a binding for Rails. Go and read how to write those clean, aesthetic helpers in Rails.
Call for illustrations for RubyKaigi 2010!
Freely express your RubyKaigi 2010 image! RubyKaigi 2010 requests submissions of illustrations for novelty items including staff T-shirts. For more detail, please access official information! Call for illustrations for RubyKaigi 2010! | RubyKaigi2010
Paperclip "RecursiveThumbnail" processor (speed up thumbnail generation)
This processor (and patch to Paperclip) sped up thumbnail generation by 8 seconds (originally 12, now 4). RecursiveThumbnail processor.
Rails, Paperclip, -auto-orient, and resizing...
I recently had a situation in which I wanted to generate thumbnail images and have them constrained to 67x50 (specifically “67x50>”). No problem so far, but I also wanted to auto rotate (via Imagemagick’s -auto-orient option) the images as they all come from a digital camera that provides this information. This causes a problem. Namely that some images ended up being 50x67 instead of 67x50. Here is my solution.
Camping 2.0 released - minature rails for stay-at-home moms
See the announcement or go to the homepage.
Get it: gem install camping
Happy camping!
Working with TextMate: April 2010 Edition
I just wrote about classic tips and recent development in the TextMate community. I hope both veteran and new TextMate users will find it useful.
A Mini-Review-Benchmark of Ruby’s Different Testing Frameworks
Ruby has got such amazing testing frameworks that it is such a shame that people still use other languages to test code. The goal of this post is simple – to show you how to test a given code in various different frameworks, so you can choose the one for you. Read the entire post here.
Lightning - Speed For Your Shell
Introducing lightning, a gem which could revolutionize how fast you are on the commandline. The first post explains what it’s capable of. The second post explains how to use it.
With this gem, rubyists may be pleased to know they can apply any command on the commandline to a standard ruby library, less-ruby fileutils.rb, or a gem directory, cd-gem rails-3.0.0.beta, with autocompletion.
Rails Envy story
If anyone has been curious about why Rails Envy has disappeared, I’ve written post about it on my blog.
Speeding up multi-browser Selenium Testing using concurrency
I haven’t used Selenium for awhile, so I took some time to dig into the options to get some mainline tests running against Caliper in multiple browsers. The result ends with 12 browsers running selenium tests concurrently against local or staging servers with example code.
Is your Rails app under-provisioned?
Performance looking good on the server but not in real-life? The warning signs of an under-provisioned Rails application (and how to track it).
Using git submodule keep your vim plugin up-to-date
when we install vim plugin we need copy files to different folders, it’s hard to keep it up-to-date. As lot’s of vim plugin have github repository. we can use git submodule and vim plugin pathogen to keep your plugin up-to-date. For details read this blog post.
Rails 3, Railties and Engines.
If you ever wondered what were these new core aspects of Rails 3 and how they were implemented, I investigated a little bit about them and wrote a quick article about it.
Check out the new RailsDispatch.com for all your Rails 3 news!
Rails 3 is here(ish), and things are happening FAST. We put together Rails Dispatch to make sure there was always a place for the latest and greatest in news and educational content. [more inside]
SCSS: Sass is a CSS Extension
Want the power of Sass with a CSS-superset syntax? Check out SCSS, the new syntax to be introduced in Sass 3.
Parametric Mixins Perfected
Just released Paramix v2. I have to thank Jonathan Rochkind for striking up a conversation with me concerning the project. Our dialog sparked a complete redesign and I have to say, the new implementation is damn near perfection.
Boost.Regex in Ruby
Ruby makes Regexes easy. Boost.Regex in C++ offers a really fast Regex implementation that blows Ruby’s regexes out of the water. I just made a gem so you can have both. Just run gem install ruby-boost-regex.
Rails Coach #15: Pair Programming
There is a new episode of the Rails Coach Podcast available. I discuss the pro’s, con’s, and necessities of pair programming.
Git Repository Hosting via SSH
I just wrote a blog post announcing a little project I’ve been using for a while now. If you’ve got a shared hosting server or just want to share repos under one SSH shell account (something like Gitosis) then checkout my Ruby solution.
Sneak preview of our support for Rake
At Mike CI we offer a low-cost, hosted continuous integration service. Here’s a short blog previewing our imminent support for Rake, Rails and other Ruby-based projects.
Build if for yourself
Insight into going from a ruby script to a rails website and how to gauge features you want to add.
LRUG Podcast Episode 1
The London Ruby User Group (LRUG) just released their first podcast - an interview with Corey Haines and Chris Parsons (who give talks at the March LRUG meeting) about Software Craftsmanship, what it means to Rubyists and how to continuously improve in your craft.