28 Mar '12, 4am

Ruby Best Practices - Rails Modularity for Lazy Bastards:

Rails Modularity for Lazy Bastards 2009-04-16 04:31, written by Gregory Brown When we develop standalone systems or work on libraries and frameworks, modularity seems to come naturally. When something seems to gain a life of its own, we pull it off into its own package or subsystem to keep things clean. This is a natural extension of the sorts of design decisions we make at the object level in our software, and helps us work on complicated problems, often working alongside other hackers, without losing our wits. It seems a bit surprising that these helpful guiding principals can often evaporate when we bring our software to the web. Sure, we may make use of plugins and gems for foundational support, but if you take a good look at a Rails application that has more than 50 models or so, you’ll be hard pressed to find a unified purpose behind all that logic. However, if you t...

Full article: http://blog.rubybestpractices.com/posts/gregory/rails_mod...

Tweets

Ruby on Railsで複合キーを扱う(3)

oiax.jp 27 Mar '12, 1pm

# coding: utf-8 require 'spec_helper' describe Department do let(:department0) { FactoryGirl.create(:department, code: "ro...

bit.ly:

engineyard.com 28 Mar '12, 12am

That is true, I suppose when I was creating the list to be the brevity of the Ruby5 on top of just information seemed like...

Gregory Brown's free articles on #Ruby

blog.rubybestpractices.com 27 Mar '12, 8am

Practicing Ruby's second volume now freely available 2012-03-26 14:00, written by Gregory Brown Keeping with my promise to...

Sam Ruby: Keeping it on the Rails

intertwingly.net 28 Mar '12, 9pm

The previous error that was caught was connection pool of new applications have size 1 . This demonstrates the unique valu...

Ruby Best Practices - Code Blocks: Ruby's Swiss...

blog.rubybestpractices.com 29 Mar '12, 10pm

So even if we label all methods that accept a block as iterators, we know the story runs deeper than that. With this in mi...

Introducing Bloggy: A simple way to add a Jekyll blog to any Rails application

Introducing Bloggy: A simple way to add a Jekyl...

engineyard.com 31 Mar '12, 9pm

We have been working hard on making RVM rock-solid, and to prevent regressions while simultaneously fixing and improving i...

@joshbuddy in case you didn't see it. cc: @nesq...

engineyard.com 28 Mar '12, 8pm

Engine Yard, Inc. Log in Login to Engine Yard Cloud Login to Orchestra PHP Cloud Products Engine Yard Cloud Engine Yard Ma...

Ruby on Rails Guides: Rails Form helpers:

guides.rubyonrails.org 28 Mar '12, 5am

Forms in web applications are an essential interface for user input. However, form markup can quickly become tedious to wr...

Oldie but I enjoy this post on Ruby's inject me...

blog.jayfields.com 28 Mar '12, 8pm

I find the inject solution less readable than something like: a = [1,2,3,4,5,6].map{|x| x.to_s if 0 == x % 2}.compact or a...

Rails 3.0’s ActiveModel: How To Give Ruby Class...

rubyinside.com 29 Mar '12, 1pm

In extracting the model-building parts of ActiveRecord, ActiveModel makes it possible to add model-like behavior to any Ru...

Build Database Of Ruby Programmers: We would li...

workingwithrails.com 03 Apr '12, 9pm

Set the extra attribute in a join model with an association of has_many :through without creating two records for the join...

Exactly what I needed --> :D

weblog.rubyonrails.org 28 Mar '12, 6am

There are some new features related to EXPLAIN in the forthcoming Ruby on Rails 3.2 we'd like to share: Running EXPLAIN ma...

Rails 3.2.3.rc1 Weblog post

weblog.rubyonrails.org 27 Mar '12, 5pm

This release changes the default value of config.active_record.whitelist_attributes to true. This change only affects newl...