User has_many :organizations
create_table "organizations", :force => true do |t|
t.string "name"
t.integer "founder_id"
我可以分配 Founder_id,但不能访问 Founder(缺少方法)。
class CreateOrganizations < ActiveRecord::Migration
def change
create_table :organizations do |t|
t.string :name
t.belongs_to :founder, :class_name => "User"
我需要更改什么才能访问 Oranization 上的创始人(用户)属性?