Ruby on Railsで複合キーを扱う(3)
# coding: utf-8 require 'spec_helper' describe Department do let(:department0) { FactoryGirl.create(:department, code: "ro...
bit.ly:
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
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
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...
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 Jekyl...
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...
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:
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...
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...
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...
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
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
This release changes the default value of config.active_record.whitelist_attributes to true. This change only affects newl...
