Ruby-on-Rails

Rails 3.0 Beta: 36 Links and Resources To Get You Going

rails3logo.gif Whenever something's a really "big deal" in the Ruby world, we cover it - even if it makes more sense on Rails Inside (which is now switching to a user contributions model). Given that, we've gone through all the latest and greatest Rails 3.0 related links and put together a ton of them to help you on your way with the recently released Rails 3.0 beta. Enjoy!

Read more →

Rails 3.0′s ActiveModel: How To Give Ruby Classes Some ActiveRecord Magic

activemodel.gif One of the biggest benefits of bringing Merb developer Yehuda Katz on board to work on Rails 3.0 has been his relentless pursuit of extracting out all of Rails' magical abilities from their monolithic encasings and into separate, manageable chunks. A case in point is ActiveModel, a new library that provides the model related parts of ActiveRecord but without the database requirements.

Read more →

Riot: for fast, expressive and focused unit tests

JustinRiot is a new Ruby test framework by Justin Knowlden that focuses on faster testing. Justin was frustrated with his slow running test suites, despite employing techniques such as using factories, mocks and avoiding database access. He realized that a slow-running suite makes one reluctant to run it or expand it - not good.

Read more →

21 Rack Middlewares To Turbocharge Your Ruby Webapps

rack-logo.pngIf you've worked with Web apps using Ruby, you might know of Rack, an interface that sits between Ruby applications and HTTP-speaking Web servers. All of the major Ruby frameworks and server setups use it now, including Rails. Middleware (in Rack) is code that manipulates data going back and forth between your Ruby apps and the HTTP server. You can use middleware to intercept requests, change data in mid-flow, etc. Ryan Bates has a great screencast tutorial if you're new to the concept and want to build your own.

Read more →

Rails Rumble Voting Is Go – 22 New Ruby Webapps To Check Out!

rrumble.png Rails Rumble is an annual Ruby (and Rails) development contest where developers attempt to build a working web app in 48 hours. This year it took place between 22-23 August and you can now vote on the top 22 applications (as ranked by an expert panel - disclaimer: I was on the panel). Despite its name, Rails Rumble is not only for Rails applications - this year, any application that uses Rack could be entered. I wasn't aware of this before the contest took off, but hopefully with this in mind many more Sinatra and Ramaze entries could join the fold next year.

Read more →