Skip to content

Instantly share code, notes, and snippets.

@chocnut
Created January 19, 2013 20:35
Show Gist options
  • Save chocnut/4574930 to your computer and use it in GitHub Desktop.
Save chocnut/4574930 to your computer and use it in GitHub Desktop.
Dashboard Logs
Started GET "/dashboard" for 127.0.0.1 at 2013-01-20 04:34:10 +0800
Processing by HomeController#dashboard as HTML
User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 999 LIMIT 1
*********redirect if necessary****************
********2**************
SeekerPreference Load (0.2ms) SELECT `seeker_preferences`.* FROM `seeker_preferences` WHERE `seeker_preferences`.`user_id` = 999 LIMIT 1
%%%%%%%[email protected]%%%%%%%%%%%%%%shittrue
******in care seeker****true** [email protected]*
%%%%%%%[email protected]%%%%%%%%%%%%%%shittrue
################################################
Rendered shared/_basic_user_info.html.erb (1.4ms)
Rendered shared/_form_search_provider.html.erb (1.4ms)
Job Load (0.2ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`user_id` = 999
Zipcode Load (0.2ms) SELECT `zipcodes`.* FROM `zipcodes` WHERE `zipcodes`.`zipcode` = 76902 LIMIT 1
User Load (1.0ms) select u.* from users u join tutor_profiles bp on u.id = bp.user_id
Rendered shared/_job_details.html.erb (404.5ms)
Rendered home/_seeker_dashboard.html.erb (416.4ms)
Rendered home/seeker_dashboard.html.erb within layouts/application (418.4ms)
Completed 500 Internal Server Error in 426ms
ActionView::Template::Error (undefined method `<=' for nil:NilClass):
19: <th>Location</th>
20: </tr>
21:
22: <% providers = SearchUtil::to_job_matches(job.job_type,current_user.zip_code, num = 5) %>
23: <% providers.each do |provider|%>
24: <tr>
25: <td><%=provider.full_name%></td>
app/models/util/search_util.rb:21:in `block in to_job_matches'
app/models/util/search_util.rb:21:in `select'
app/models/util/search_util.rb:21:in `to_job_matches'
app/views/shared/_job_details.html.erb:22:in `_app_views_shared__job_details_html_erb__3376723284899163343_70263647685240'
app/views/home/_seeker_dashboard.html.erb:29:in `block in _app_views_home__seeker_dashboard_html_erb__3657254792089581928_70263649143800'
app/views/home/_seeker_dashboard.html.erb:28:in `_app_views_home__seeker_dashboard_html_erb__3657254792089581928_70263649143800'
app/views/home/seeker_dashboard.html.erb:15:in `_app_views_home_seeker_dashboard_html_erb__2666467475198319705_70263648308900'
app/controllers/home_controller.rb:36:in `block (2 levels) in dashboard'
app/controllers/home_controller.rb:34:in `dashboard'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment