RubyOnRails API model attributes # 返回哈希 哈希 merge! # 數(shù)據(jù)追加 migrate model add_index :sessions, :user_id # 加索引 table_name colum_name