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.
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.
Nominate this year's Ruby Hero
Nominate the Ruby Hero for 2010 here. Who have you nominated?
Prettier MiniTest for Ruby 1.9
Making minitest look a little nicer - read here.
Terminus: control your browser from the command line
I’ve just published an alpha release of Terminus after hacking on it for an afternoon. It lets you script browsers from the command line, and hopefully will turn into something that makes integration testing easier.
handy rack-rewrite rules
I started noticing in Google Analytics that some pages were being listed twice, one with a trailing slash, and one without; bad for SEO and not helpful for page tracking. Have a read of my post on how I fixed this, and share a rewrite rule or two with everyone else.
Celebrate MLB Opening Day Ruby Style...
In my latest blog post, It’s Baseball Season, I describe two baseball projects in Ruby. One is an API for working with live MLB statistics, Gameday API, and the other is a Rails app that lets you view live boxscores and play-by-play data for any MLB game, Baseball Tracker.
Rails Code Stats gem
A short writeup on a gem that provides an improved stats rake task for your rails 3 app. Rails Code Stats gem
Ruby Access Control – Are Private And Protected Methods Only A Guideline?
The concept of private, protected and public methods in Ruby is somewhat different than it is in languages like Java, it’s all about which object is the receiver of a particular method call. Let’s take a closer look at how access control works in Ruby.
Use Ruby and Watir to scrape the web
This post on the Layered Thoughts blog outlines how to use Ruby and Watir to visually scrape web pages.
Liquid Layouts and Linear Algebra
Just released liquidity, a simple gem to simplify the process of creating column-sorted liquid layouts.
Should I override to_json in my model?
In the “old days”, you’d override to_json in your model class to provide a custom JSON representation. In Rails 3, there’s a better way. And it’s available in 2.3.3 as well! Meet as_json, and why you should never override to_json ever again.
I've been benchmarking Ruby 1.8.7, 1.9.1, and JRuby 1.4.0
I have been writing this up on rubyplanet.net [more inside]