Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

February 05 2010

notahat's machinist at master - GitHub

Fixtures aren't fun. Machinist is.

February 04 2010

joshknowles's rspec-on-rails-matchers at master - GitHub

A collection of RSpec matchers to be used with the Ruby on Rails project
Tags: rspec rails

November 13 2009

Community Engine | A Social Networking Plugin for Ruby on Rails

CommunityEngine is a free, open-source social network plugin for Ruby on Rails applications. Drop it into your new or existing application, and you’ll instantly have all the features of a basic community site.

ASCIIcasts - “Episode 149 - Rails Engines”

A Rails Engine is a method for embedding one Rails application into another. Engines have been available as a plugin for a while, but much of the same functionality is now built in to Rails 2.3. We’ll show you how it works in this episode

Rails Engines

The engines plugin enhances Rails plugins — allowing sharing of code, views and other aspects of your application in a clear and managed way.

Crossing borders: Extensions in Rails

If you've spent any time at all with Rails, you've doubtless noticed the acts_as commands in ActiveRecord. Though ActiveRecord deals with persistence, you often want to add behavior to your classes beyond database storage and retrieval. For example, by using acts_as_tree, you can add tree-like behavior to a class with a parent_id attribute. By saying nothing more than acts_as_tree in your ActiveRecord model, you can dynamically add methods to manage the tree, such as methods that retrieve the parent record or child record. Over the past month, I've been able to find Rails plug-ins to handle voting, versioning, Ajax, composite keys, and all manner of features that basic Rails doesn't support.
Tags: rails plugins

Alex Young: A Taxonomy of Rails Plugins

The purpose of this article is to demystify writing plugins using examples of common patterns used by popular plugins.
Tags: rails plugins

November 12 2009

Radiant Pros - radiant - GitHub

Professionals and companies specializing in Radiant construction and implementation.
Tags: radiant rails

Ruby On Rails Sites

railsworld.com is a list of websites using the Ruby on Rails webapplication by popularity according to alexa. The site gives you and your customers a quick and up to date overview of the most influential rails sites.
Tags: rails

Spree: Open Source E-Commerce for Ruby on Rails

Spree capitalizes on the dynamic nature of the Ruby progamming language to provide the most flexible commerce platform available. Spree has been designed from the ground up to be as open and extensible as possible. You no longer have to be frustrated with the limited set of choices provided by most platforms. Spree is maintained by an active team of developers who continue to refine the code based on lessons learned from the challenges of real world deployments.

October 16 2009

15 Expert Tips for Using Cucumber

I put out calls for ‘Cucumber Best Practices’ and received an assortment of responses—thanks to everyone who contributed! After collecting and reviewing all the responses, I’ve come up with a list of 15 expert tips you want to keep in mind when working with Cucumber.

October 09 2009

Removing Rails validations with metaprogramming

I recently found myself facing a metaprogramming challenge. I solved it by combining two terrible ugly hacks, and as such I won’t say I found a solution that is anywhere near to be elegant.

September 26 2009

September 09 2009

Rails Logging Tips

Ruby on Rails comes prewired for logging using Logger from the Ruby Standard Library. This article demonstrates how to use the Rails logger, how to create your own logs, and offers some tips for debugging with console logging.

September 03 2009


I really like Ryan Bates’s Railscasts, but videos aren’t the easiest thing to search through when you’re trying to search for a single tip or line of Ruby code to add to your own site. ASCIIcasts are text versions of each Railscast, each with a link to the original video. I hope you find them useful. You can keep up to date with new episodes on Twitter.

September 02 2009

Stubbing Chained Methods with Rspec - Stack Overflow

Client.stub!(:named_scope).and_return(@clients = mock([Client])) @clients.stub!(:first).and_return(@client = mock(Client))

September 01 2009

Riding Rails: Upgrading to Snow Leopard

Last Friday, Apple released their new OS version: Snow Leopard. Upgrading to SL is very easy and even gives you back quite a lot of HD space. However a few things have changed in the OS and you need to understand what is going on so you won't get frustrated with the updating process and won't be wasting time fighting with the system.

August 11 2009

Paperclip: Attaching Files in Rails | Ruby on Rails

Paperclip is an awesome rails plugin by Jon Yurek at Thoughtbot. It is one of many plugins currently available that cater for file uploading and thumbnailing

July 20 2009

Mocking/Stubbing partials and helper methods in RSpec view specs

In my previous post I whined about not knowing how to mock/stub partials and helper methods in RSpec view specs. Now I have the answer and I’d like to thank the RSpec users mailing list and David Chelimsky for taking my phone call.
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!