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.
PostgreSQL vs MySQL for Ruby and Rails
101 reasons why PostgreSQL is a better fit for Ruby (and Rails) than MySQL
Halcyon 0.5.2 Released!
Halcyon 0.5.2 has been released! Halcyon is a web application development framework focused on service-oriented applications such as APIs et al. This update includes several major bug fixes and incorporates ExtLib (an abstraction of Merb’s and DataMapper’s Core Extensions).
NeverBlock, much faster IO for Ruby
NeverBlock has been released. Read about it here.
neverblock
Fancy parallel db queries and IO operations? eSpace just released NeverBlock, a library that uses fibers to do async IO in a transparent manner.
DRYing up RSpec controller examples
We DRY up our Ruby code but often don’t stop to think about how DRY applies to RSpec. Most of us have several near-identical controller specs in each Rails application - all of which are just testing CRUD. [more inside]
EngineYard Looking For 3 New Employees
Ezra Zygmuntowicz writes that Engine Yard is looking for three new employees including a Ruby developer and two systems engineers. [more inside]
Guide to enabling JDBC Connection Pooling in Glassfish for JRuby
The LinkedIn engineering blog has a new post with step by step instructions describing how to set up JDBC connection pooling when running Rails as a WAR file in a Glassfish container.
Build a search engine with Yahoo! and Rails
Building a search engine is easy with Yahoo!’s BOSS API and Rails: get a full Rails app example here.
FiveRuns and Morph Labs Partner
FiveRuns and Morph Labs have announced a partnership integrating FiveRuns TuneUp and Morph AppSpace. For more info, click here.
Building Distributed Apps w/ Mack
On August 25th, Mack 0.7.0 will be released featuring Distributed Views/Layouts and Distributed Objects (Models), along with Distributed Routes. Here’s a screencast to demonstrate those features.
Colorist: Color Manipulation Gem
Colorist is a new gem for easily manipulating colors with an emphasis on simplicity for web-oriented uses.
Going Camping – A Web Microframework in 4k Ruby by Jeremy McAnally
S6/S9 Slide Deck of the Week: Going Camping – A Web Microframework in 4k Ruby by Jeremy McAnally @ GoRuCo (Gotham Ruby Conference) - Adapted S6/S9 (Single-Web) Version (S6/9 Tip: Use T-Key to Toggle Between Outline and Slide Show View)
HomeMarks v2 - A Case Study of an Unobtrusive JavaScript-based Rails App
HomeMarks was built using the Ruby on Rails framework with a heavy emphasis on object oriented JavaScript to make AJAX requests to a RESTful back-end. Unlike most Rails applications it does not use any inline JavaScript helpers nor does it rely on RJS (Remote JavaScript) for dynamic page updates. Instead it is nearly 100% unobtrusive JavaScript, resulting in slim controller code easily decoupled from the views and testable in isolation at a functional level. [more inside]
New Authentication Library for Merb
Coming soon to merb: a new way to look at authentication.
New Git Logo
A New Git Logo? The Git logo is really cool in concept but poorly done. I’ve tried to make it a bit pretty and you can check out the result of my work here. Feel free to use it.
Rails Plugin: dynamically_tags
Rails Plugin: dynamically_tags: I wanted a way to allow a user to enter text into a field, and have that text automatically reference existing objects based on its content. For example, a user types a comment into a blog: “I think Chicago is a great city.” Somewhere in the database, there’s a City object with a :name field that contains “Chicago”. I want my application to realize this, and then DO something with that information. Most importantly, I want that linkage to persist, even if changes are made to the City object. And, finally, I don’t want my application to have to scrape through ever bit of rendered text and compare it to every existing object each time that someone requests that information. [more inside]
The Missing default_proc=
Anyone knows why Hash#default_proc= doesn’t exists?
Readable Specs: it renders, it assigns, it flashes
Readable Specs: it renders, it assigns, it flashes - response.should render_template(”new”) => it_renders :new
Require/Load Profiler
A little script to profile how long your requires and loads take. Helpful when identifying files for autoloading, and hence, quicker script execution.
RedCloth Mini-Cookbook: How Tos, Recipes, F.A.Qs
RedCloth Mini-Cookbook: How Tos, Recipes, F.A.Qs – Using the Ruby Plain Text to Web Markup Gem
Part 2 of Adam Key's Rails TakeFive interview with David Flanagan
FiveRuns has posted this week’s Rails TakeFive interview, Part 2 of Adam Key’s talk with noted author and developer David Flanagan on the craft of programming. Check it out here.
APIdock launches with Rails, Ruby and RSpec
APIdock launches with Rails, Ruby and RSpec. The launch has started smoothly and older versions of Ruby are being imported. APIdock is a web app that provides a rich and usable interface for searching, perusing and improving the documentation of projects that are included in the app.
Unlocking The Power Of Case Equality: Proc#===
Range, Class and Regexp all implement their own version of ===, so why not Proc?
Rails and SSL
Sometimes it’s necessary to encrypt traffic from some parts of site. Thereto you had to use HTTPS protocol. HTTPS is widely used all over the WEB world in applications demanding safe connecting, for example, in payment systems. Rails developers confronted by some problem: Mongrel and Webrick do not support SSL encryption. Read about Rails and SSL on Hash Train blog