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.
thoughtbot holding a twitter contest for several exciting prizes
Go to here for more info Prizes include subscriptions to Hoptoad, and a ticket to one of their training sessions, a $1,295 value.
Ozéias Sant'ana for hire
If you’re looking to hire someone with strong Rails skills, give Ozéias a look. Ozéias Sant’ana for hire.
Radiant Ultrasphinx Search Extension
For all Radiant CMS devotees, there’s a new extension that adds Sphinx support to Radiant by Aissac. Ultrasphinx Search Extension provides full text search for content and page titles, Radius tags for iterating over search results, checking if there are no results, excerpt highlighting, pagination with will_paginate and some other features. Check out the repository on Github and the official page.
Sinatra: The Framework Within
A short proposal for a strong use-case for Sinatra as a web library. Also, announcing the release of Gembox - a local gem browser.
Use Shoulda matchers inside RSpec
The latest version of Shoulda works with RSpec. Check out the announcement blog posts for ActiveRecord matchers (last month) and ActionController matchers (today).
Use binding methods of prototype.js to keep your code DRY
There’re two awesome methods in prototype.js library those are often overlooked by newcomers - Function.bind() and Function.bindAsEventListener(). These methods are so great that their absense from another awsomeness called Ruby is just driving me crazy every time I stumble upon it. But let’s take a closer look at why these methods are so useful, and let me show you almost a real app usage example. Read on for the rest of the article.
Locos X Rails Conference in Argentina: Registration Opened!
Locos x Rails Conference registration just started. The conference is hosted at Ciudad de Buenos Aires, Argentina. meet you there! :-)
Compass, the 960 CSS framework, and Semantic Markup
A new article from Carbon Five describing how one can leverage CSS grid-layout frameworks without cluttering semantic markup with the presentational class names those frameworks employ. The solution involves using the new Ruby based ‘meta-css-framework’ Compass - Direct Link
Rails Envy Podcast #69
For your weekly audio dose of Ruby/Rails news, check out the Rails Envy Podcast #69, this week with co-host Steven Bristol.
Detecting which ruby interpreter is running (JRuby vs IronRuby)
I had that need and had to search a bit, so I’m sharing it here.
Presentation - Ruote in 20 minutes
I had the great privilege last night to do a presentation on Ruote at the third monthly Ruby on Beer meetup here in Gauteng. It ended up taking 35 minutes, not 20 as intended, but I think I got something across to the guys. Slides available at Open Sourcery.
Dynamic Typing and Variable Scope for Beginners
Two short beginner videos: Duck Typing in Ruby (01:41) and a brief introduction to Variable Scope in Ruby (3:49) with examples of local, global, class and instance variables.
How to use Google's Translation API with Ruby
Translate ‘Hello, World’ into 25+ Languages with Ruby in 10 Minutes. More.
Collaborative Map-Reduce in the browser (and ruby)
Instead of using proprietary protocols, what if the barrier to entry for assembling a compute cluster was clicking a link? We can use the browser (javascript) to perform the work, and HTTP to coordinate the workflow. All we need is javascript and a 30 line sinatra web-server.
The Ruby Object Model - Structure and Semantics
To get inspiration for the work on my compiler series, I spent quite some time going through MRI to get a better idea of exactly how it all hands together. The result is a post on the Ruby Object Model. It doesn’t contain much new stuff if you already understand the inheritance structure of Ruby completely, but if things like meta classes confuse you, and you wonder about implementation details, you might find it useful.
Interview: Adam Keys on Sinatra
Adam Keys talks to the “Introduction to Sinatra” course participants on the Sinatra micro web-framework, in this interview.
hotel reservations
Get the hotel according to your choice containing with all the facilities all over the world. These hotels are also available on lowest rates. So enjoy and reserved your hotels from http://www.avishotels.com
Sinatra 0.9.1 released!
If you’re a fan of this classy framework (and you should be) check out the new 0.9.1 release. Ruby 1.9.1, better support for running as Rack middleware (yay!), a bunch of fixes and other features and a lot of new, in-depth documentation.
What are real-world prime examples of good Ruby code?
A Ruby Inside reader wrote in last week asking me to run an article linking to projects they could look at that demonstrate good Ruby style and coding practices (after I had said Heist was a good demonstration of this). So.. rather than just post all my own opinions, I thought I’d get some input! What libraries, apps, plugins, etc, do you think show a very high quality of coding? All suggestions welcomed, and if you leave a name/URL with your comment I’ll try and credit you in the article.
Ruby powered tool to merge and minify CSS and JavaScript (and more)
For best performance, CSS and JavaScript should be served up using as few requests and bytes as possible. Juicer is a command line tool written in Ruby that helps by resolving dependencies, merging and minifying files. It can even check your syntax, add cache busters to and cycle asset hosts on URLs in CSS files and more. Full post.
Sync your development environment data w...
Sync your development environment data with production script - Heres how I setup a rake task to pull the database data and images from my production server to use in my development environment.
Korean Climate Information Toolkit receives Ruby Fukuoka Award
The results of the Ruby Fukuoka Award are out. The first price was awarded to the CLimate Information ToolKit (CLIK).
easy_swf_upload
Easy swf upload - rails plugin for easy embedding swf upload into your project.