ruby-debug
http://d.hatena.ne.jp/yuichi_katahira/20080317/1205762023
デバッグ中、変数を確認してるところは、以下を使ったほうがわかりやすいかも?
info valiables
info instance_variables
info locals
(rdb:12) info variables schedule = #<Schedule id: 2, event_id: 1, schedule_date: "2008-03-22 00:00:00"> @attributes = {"name"=>"hoge", "id"=>26, "email"=>"fuga"} @attributes_cache = {} @errors = #<ActiveRecord::Errors:0x2622224 @base=#<User id: 26, name: "hoge", email: "f... @new_record = false @new_record_before_save = true @schedules = [#<Schedule id: 1, event_id: 1, schedule_date: "2008-03-15 00:00:00">] @user_schedules = [#<UserSchedule id: 77, user_id: 26, schedule_id: 1, attend: "-">] (rdb:12) info instance_variable @attributes = {"name"=>"hoge", "id"=>26, "email"=>"fuga"} @attributes_cache = {} @errors = #<ActiveRecord::Errors:0x2622224 @base=#<User id: 26, name: "hoge", email: "f... @new_record = false @new_record_before_save = true @schedules = [#<Schedule id: 1, event_id: 1, schedule_date: "2008-03-15 00:00:00">] @user_schedules = [#<UserSchedule id: 77, user_id: 26, schedule_id: 1, attend: "-">] (rdb:12) info locals __dbg_verbose_save = false schedule = #<Schedule id: 2, event_id: 1, schedule_date: "2008-03-22 00:00:00">