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.
RailsInstaller 1.1.1 Released!
Wayne E. Seguin walks through new features and other improvements, and a quick screencast demo.
Typus own authentication
Make your own Authentication with Tyus: Typus own authentication.
Cloud Foundry - a Ruby and node.js developer's perspective
This week VMWare announced Cloud Foundry, their open source PaaS offering for Ruby and node.js. Here’s my take.
TorqueBox 1.0.0.CR1 Released
The TorqueBox project launched their first 1.0 Candidate Release today. TorqueBox is the mixture of the JRuby interpreter with the JBoss AS Java application server.
RSpec Rails Testing - Without Rails
Find out how to speed up your Rails tests by not including Rails!
Copycat. Copycopter without the bills.
I like the idea of Copycopter, particularly the client side gem to synchronise and publish content, but I wasn’t a fan of their web interface, or paying a monthly fee for what is in practice a really simple application. [more inside]
Recursively Setting Deep Hash Value
Ever want to set a Hash like below? Check out my short blog post.
Writing a Desktop Application With JRuby and Swing
Here is an educational example of a pure Swing and JRuby desktop application. In it, I show how I’ve converted an existing Java Swing app to JRuby.
CoffeeScript Basics – A Teach Me To Code Tutorial
Since the announcement that CoffeeScript will be part of Rails as of version 3.1, I thought a tutorial is in order. You can watch it on Teach Me To Code.
Practicing safe Ruby, with safely
Wrap up your dangerous Ruby operations in a warm error handling embrace with the new safely gem. Extracted from daemon-kit, and now standing on its own two feet, safely will make sure your projects never fall over without you knowing exactly why.
Designing of a web framework for video games
I just wrote about my experience designing a web framework for video games at Sony PlayStation. It’s sort of a postmortem explaining the reasons behind the project, the challenges and how we tackled them.
To Yield or Not to Yield: An Inferable Question
Blocks are fundamental to idiomatic Ruby code, yet Ruby/RDoc/YARD can’t tell us statically whether a given method needs a block, optionally uses a block, or ignores blocks. The Laser project takes up the question: To Yield or Not to Yield: An Inferable Question
VMware CloudFoundry: Ruby powered PaaS
VMware announced their CloudFoundry project earlier this week, which is an open source PaaS platform - run your own “mini Heroku” or “EY cloud” on your own servers! The entire platform is powered by a collection of distributed Ruby daemons and services - great case study of building a distributed Ruby system.
Rails Misapprehensions: Rails needs more abstraction layers!
My opinionated opinion about the on-going +1 discussion on Rails and coffeescript and a discussion what is an abstraction layer.
NestedHasManyThrough Rails 3.x gem has been released
This gem makes it possible to define has_many :through relationships that go through other has_many :through relationships, possibly through an arbitrarily deep hierarchy. I have just made the gem and applied patches for better Rails 3.x support
Squeel, aka the MetaWhere Rewrite
I just put up a quick blog post discussing the upcoming successor to MetaWhere, Squeel. I could really use some testers and feedback on what you’d like to see. If you’re running edge Rails, please try it out!
Gautam Rege of JoshSoftware writes about...
Gautam Rege of JoshSoftware writes about Geolocation, Rails and MongoDB- a recipe for success.
Using Coffeescript in Rails
Darcy (Sutto) shows us how to use Coffeescript in Rails - Using Coffeescript in Rails.
CoffeeScript Commotion: The Latest Rails Drama
Over on Ruby Inside I’ve just written about the latest Rails 3.1 storm in a teacup. Yeah, Rails 3.1 is bringing CoffeeScript, Sass, and jQuery into the fold. Luckily, Jason Seifer has released DoIHaveToUseCoffeeScriptInRails.com to clear things up for us. On a more serious note, though, if you’re new to CoffeeScript, this presentation should do a great job of selling it to you.
CoffeeScript Compiler for Windows
This is alisey’s library, not mine, but I just found it and wanted to share. I cloned the repo and was immediately compiling CoffeeScript files on Windows, no hassle or problems, no steps. Link to Github - CoffeeScript Compiler for Windows
TryRuby! needs your help to fundraise for new features and lessons.
I’ve recently launched a campaign to raise funds for Try Ruby - the web-based IRB. The updates I want to make require more time than a 9-5 job/contract can afford me. I’ve turned down contracting work in March so that I would have time to work on Try Ruby full time. Some of the upcoming changes have been very time consuming like adding support for non English keyboards as well as iPad (web) support. [more inside]
RouteDog for Rails
I just released version 2.3.0 of RouteDog for Rails 3. It is a library to find routes that haven’t been tested with integration tests as well as routes that were defined but not implemented. gem install route_dog - http://github.com/zevarito/route_dog
Parsing YAML
Dear RubyFlow: To parse YAML, use the Psych module, not the YAML module. That’s all.
Vim eighteen months on
An overview of my experience of switching to Vim with links to resources that helped me on the way.
RABL, The Ruby API Templating Language
Inspired while building a public API and by frustrations with JSON generating libraries like tequila and json builder, I have created the RABL templating engine which allows you to define JSON and XML APIs in a clean, simple ruby DSL. a The gem also removes code duplication allowing template partials and inheritance. Works with Rails 2.X, Rails 3.X, Sinatra and Padrino. Benchmarks are forthcoming.