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 Hoedown V registration is OPEN and talks posted!
We’re back for our fifth year on August 26-27, 2011 in Nashville, TN (and we still cost $0). This year we’re armed with an excellent crop of talks and a great experience (which you can learn about on my blog over the next few days). Head over to the website to get more details or register now!
mypath, a gem for getting the local path which corresponds to a foreign path
I made mypath because I often want to open the files listed in a stack trace in say, hoptoad, and get annoyed with having to edit the path to match mine.
New Rails Conference Launching - Manchester, UK - October 2011
Calling Rails developers in the UK! We’re launching Manchester’s first Agile Rails conference, Magrails, in October this year. We will be joined by the Rails Community’s Aaron Patterson - much reknowned Rubyist, public speaker and international man of mystery. [more inside]
RubyConf 2011 Schedule Announced and Ticket Sales Open (For Now..)
RubyConf 2011 ticket sales are now open and the schedule has also been unveiled. Some great sessions. I’ve written more about it at Ruby Inside.
The SD Ruby Podcast posts 100th episode
In the 100th episode of the SD Ruby Podcast, Patrick Crowley shows how to turbo-charge your layouts with Compass, a lightweight stylesheet framework built on top of Haml and Sass. Watch episode
The Search for Speedier Javascript Scenarios
New on the Collective Idea blog, get up to speed with capybara-webkit. The headless browser’s speed might convince you to switch from Selenium.
Alf 0.9.1 Released: Relational Algebra Library
I just pushed alf 0.9.1 to rubygems.org. Alf brings the relational algebra both in Shell and in Ruby. This release provides the Alf::Relation data structure that can be used in a simple and straightforward object-oriented way.
New Rails Conference Launching - Manchester, UK - October 2011
Calling Rails developers in the UK! We’re launching Manchester’s first Agile Rails conference, Magrails, in October this year. We will be joined by the Rails Community’s Aaron Patterson - much reknowned Rubyist, public speaker and international man of mystery. Get Your Ticket Now.
Heroku to hire Matz
Heroku just announced that they hired Yukihiro Matsumoto as Chief Architect, Ruby.
Quickl 0.2.2 is released!
I just released quickl 0.2.2, a gem for writing command line Ruby utilities.
Rails 3 AJAX File Uploads with Remotipart
I just released a v0.4 of the Remotipart gem, which extends the Rails 3 jQuery-UJS (using the api I built into jquery-ujs a few months back), enabling remote forms with ajax file-upload capability. Here’s the announcement. [more inside]
mongoid-tree -- A clean implementation of trees for Mongoid using the materialized path pattern
I just released v0.6.1 of mongoid-tree. It’s a clean and simple implementation of trees for Mongoid using the materialized path pattern. It has optional modules for ordering and traversing of trees. It also provides useful callbacks as well as several strategies to handle destroying of nodes. The source is available on GitHub, there is an API documentation and it is continuously tested on Travis.
Test Your API with Cucumber and json_spec
Our latest blog post introduces a brand new gem json_spec and how to use it to test your JSON. It’s especially handy for testing the output of your JSON APIs with its built-in Cucumber steps.
3-day Ruby/Rails beginners & 1 day MongoDb course this August in Newcastle
I am running a 3 day rails course and and 1 day Mongodb course . The rails course pricing starts from £310 for early birds while the MongoDB course goes for £120 for early birds.
Are you confused with Ruby's Throw, Catch, Raise, Rescue?
One of the aspects of Ruby that often confuses newbies coming from other languages is the fact that it has both throw and catch and raise and rescue statements. Avdi Grimm explains their usage in simple terms in this new article “Throw, Catch, Raise, Rescue… I’m so confused!”
Introducing YAMLRecord!
At Miso, we occasionally ran into situations where we wanted to persist simple data to a text (or yaml) file. Examples include landing page email forms, contact us forms, feedback forms, about us “team” page, etc. In these situations, we wanted a way to persist data to YAML and easily view the results in a text file but also manage the data through forms and controllers as any other data. To do this we have created a YAML-backed persistence engine called YAMLRecord for those situations so we can access YAML based data using a familiar ActiveRecord API.
First step in scaling a web site: HTTP Caching (how to)
I wrote a tutorial on using HTTP caching and JavaScript to easily increase the throughput of your servers. It should be specially interesting to you if you are hosting on Heroku (Varnish) is setup or if you are using Rack-Cache or planning on doing so.
Summaryse 1.0.0 has been released!
I just launched summaryse 1.0.0 a ruby gem to apply summarizations to arrays. As a side effect, it provides a great way to merge multiple YAML files in a powerful yet simple way.
How to write an awesome Active Record bug report
Your bug is way more likely to be fixed if you help the Rails developers reproduce it.
Rails CRUD Example with Knockout.js
I just launched Rails CRUD Example with Knockout.js. Knockoutjs is a javascript library that allows simple data-bindings and follows the model-view-view model (mvvm) pattern.
RbNav helps you navigate your Ruby project in Vim
I just released RbNav, a lightweight Vim plugin that helps you navigate the classes, modules, and methods in your Ruby project.
LOCat - The Cat's Meow
Just released v0.1.0 of LOCat, a fancy-schmancy LOC analysis tool. I’ve had a very simple script for this in my utility belt for a long time now. I finally got around to taking it out and making it the “Cat’s Meow”. Have fun and please report any issues –this is an 0.x release after all. Here lies the homepage, an example and the source code.
The Rogues discuss their Personal Design Rules
The Ruby Rogues discussed their personal design rules for programming in the latest episode. [more inside]
Github Wacher, get instant Growl notifications!
Github Growl Watcher is a gem which have the aim to help you to watch any project you want and get instant growl notifications for: updates, new watchers, forks and issues. Check it out!