Skip to content

Instantly share code, notes, and snippets.

@benaskins
Created June 19, 2009 00:57
Show Gist options
  • Save benaskins/132328 to your computer and use it in GitHub Desktop.
Save benaskins/132328 to your computer and use it in GitHub Desktop.
[7, 16] in /home/weatherzone/apps/wzfb-staging/releases/20090619001435/app/controllers/weather_controller.rb
7 :days => 7
8 }.freeze
9
10 def show
11 debugger()
=> 12 @weather = weather_for(params[:location_name], params[:state])
13 @location = @weather.countries.first.locations.first
14 @location_forecast = @location.current_forecast
15 end
16
(rdb:1) params
{"format"=>"fbml", "fb_sig_time"=>Fri Jun 19 10:56:19 +1000 2009, "fb_sig"=>"bef59b81dd60b2230fd80397a45edce4", "fb_sig_app_id"=>"85970963563", "fb_sig_in_new_facebook"=>true, "_method"=>"GET", "fb_sig_locale"=>"en_US", "action"=>"show", "fb_sig_session_key"=>"2.EbSc1coZghy5sR_aPpA1qA__.86400.1245459600-501622603", "fb_sig_position_fix"=>true, "fb_sig_in_canvas"=>true, "fb_sig_request_method"=>"GET", "controller"=>"weather", "fb_sig_expires"=>Sat Jun 20 11:00:00 +1000 2009, "fb_sig_added"=>true, "fb_sig_friends"=>["204401476", "219000855", "502303355", "502574990", "502985816", "507351672", "508305963", "520638078", "520675828", "521882018", "523039273", "523846462", "525148542", "531812735", "532354623", "533502149", "534334300", "538513678", "542018967", "542209174", "542450694", "548478160", "548534079", "549051814", "550864277", "552551061", "553274738", "554081299", "555758054", "557250777", "560141677", "561651939", "562708402", "562768696", "567529155", "570771286", "571209638", "571846915", "571978661", "572336495", "573111938", "573954531", "574291723", "574905027", "577221570", "578904179", "581312393", "582066512", "585088016", "585234275", "587011830", "589458321", "594791962", "595979912", "596148899", "596620364", "602381476", "604965431", "605596872", "606033266", "607464282", "613569687", "623316866", "624247603", "624757201", "627462173", "629453139", "629707023", "630314008", "630411203", "632850788", "635058973", "642350861", "642977002", "643592825", "643702055", "644172989", "646152860", "646518905", "653948627", "655490172", "658730228", "658845377", "660151722", "665850300", "669692593", "669982663", "674107424", "675411500", "676187042", "676512610", "676604128", "678627904", "679447605", "682166147", "683416243", "684524523", "686837716", "688747243", "689490587", "694022064", "695307554", "696222941", "696273689", "697107006", "697336900", "697934201", "699455517", "699489133", "704890454", "707248416", "710486830", "711165291", "711217946", "711538222", "712263293", "714592645", "717033518", "717627810", "718533439", "719326163", "720071805", "723914461", "724354504", "725578981", "726865935", "728023575", "731800642", "732901435", "747397239", "760006095", "762220127", "776618668", "778783871", "782098267", "783340410", "784049324", "802796161", "804173069", "824256838", "861715380", "884925220", "1000533486", "1006419363", "1012668509", "1032245769", "1032985527", "1036492268", "1038886869", "1039334504", "1044639645", "1051907086", "1066420670", "1068867594", "1072470686", "1073837459", "1073950446", "1081723814", "1104161498", "1105344260", "1107546378", "1111505234", "1135695623", "1136619957", "1155450959", "1165862833", "1177368988", "1207251613", "1253105260", "1296628371", "1299165084", "1320919120", "1339947773", "1354659805", "1380843691", "1403106369", "1466584951", "1500857767", "1580678012"], "fb_sig_api_key"=>"8a076e5cc25c45c4b2333e2414ac88dc", "fb_sig_ext_perms"=>"auto_publish_recent_activity", "fb_sig_user"=>"501622603", "fb_sig_profile_update_time"=>Mon May 04 10:57:01 +1000 2009, "location_name"=>"point-clare", "state"=>"nsw"}
(rdb:1) next
[157, 166] in /home/weatherzone/apps/wzfb-staging/releases/20090619001435/vendor/rails/actionpack/lib/action_controller/rescue.rb
157
158 private
159 def perform_action_with_rescue #:nodoc:
160 perform_action_without_rescue
161 rescue Exception => exception
=> 162 rescue_action(exception)
163 end
164
165 def rescues_path(template_name)
166 RESCUES_TEMPLATE_PATH["rescues/#{template_name}.erb"]
(rdb:1) next
[137, 146] in /home/weatherzone/apps/wzfb-staging/releases/20090619001435/vendor/rails/actionpack/lib/action_controller/flash.rb
137
138 module InstanceMethods #:nodoc:
139 protected
140 def perform_action_with_flash
141 perform_action_without_flash
=> 142 remove_instance_variable(:@_flash) if defined? @_flash
143 end
144
145 def reset_session_with_flash
146 reset_session_without_flash
(rdb:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment