Skip to content

Instantly share code, notes, and snippets.

@ebot
ebot / nick_name.rb
Created July 24, 2008 16:02
Just testing out gist and the embed option.
first_name = 'ed'
nick_name = 'ebot'
puts "Hello, my name is #{first_name}, but everyone calls me #{nick_name}."
# Det crasher!
def virker_ikke
e = 3
b = 0
e / b
end
def virker
e = 3
b = 0
return 0 if b == 0
e / b
end
error when navigating to an asset:
Processing AssetPageController#show (for 70.107.230.122 at 2008-07-24 12:04:20) [GET]
Session ID: 0b9235666ace8410e0727209a4453d53
Parameters: {"_page_action"=>"show", "action"=>"show", "_context"=>"ewheeler", "controller"=>"asset_page", "_page"=>"frontlinesms+40"}
Rendering template within layouts/page
Rendering asset_page/show
ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #7 of asset_page/show.rhtml:
Processing AssetPageController#show (for 70.107.230.122 at 2008-07-24 12:04:20) [GET]
Session ID: 0b9235666ace8410e0727209a4453d53
Parameters: {"_page_action"=>"show", "action"=>"show", "_context"=>"ewheeler", "controller"=>"asset_page", "_page"=>"frontlinesms+40"}
Rendering template within layouts/page
Rendering asset_page/show
ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #7 of asset_page/show.rhtml:
Processing TasksController#pending (for 70.107.230.122 at 2008-07-24 12:10:29) [GET]
Session ID: 0b9235666ace8410e0727209a4453d53
Parameters: {"action"=>"pending", "controller"=>"me/tasks", "path"=>[]}
Rendering template within layouts/me
Rendering me/tasks/list
ActionView::TemplateError (Mysql::Error: Table 'crabgrass.task_participations' doesn't exist: SELECT `task_participations`.* FROM `task_pa
rticipations` WHERE (`task_participations`.task_id IN (16,15,17,19,21)) ) on line #25 of tools/task_list_tool/app/views/task_list_page
/_external_list_tasks.html.erb:
rw-r--r-- 1 root root 2661 2008-07-07 15:36 049_add_id_caches_to_user.rb
-rw-r--r-- 1 root root 5624 2008-07-07 15:36 051_add_indexes.rb
-rw-r--r-- 1 root root 560 2008-07-07 15:36 052_create_ratings.rb
-rwxr-xr-x 1 root root 461 2008-07-07 15:36 053_add_notice_to_user_participations.rb
-rwxr-xr-x 1 root root 2658 2008-07-07 15:36 054_add_more_indexes.rb
-rw-r--r-- 1 root root 592 2008-07-07 15:36 055_drop_pictures.rb
-rw-r--r-- 1 root root 205 2008-07-07 15:36 056_rename_federations.rb
-rw-r--r-- 1 root root 3858 2008-07-07 15:36 058_create_profiles.rb
-rw-r--r-- 1 root root 1693 2008-07-07 15:36 059_make_user_caches_binary.rb
-rw-r--r-- 1 root root 577 2008-07-07 15:36 060_add_privacy_flags_to_groups.rb
rw-r--r-- 1 root root 2661 2008-07-07 15:36 049_add_id_caches_to_user.rb
-rw-r--r-- 1 root root 5624 2008-07-07 15:36 051_add_indexes.rb
-rw-r--r-- 1 root root 560 2008-07-07 15:36 052_create_ratings.rb
-rwxr-xr-x 1 root root 461 2008-07-07 15:36 053_add_notice_to_user_participations.rb
-rwxr-xr-x 1 root root 2658 2008-07-07 15:36 054_add_more_indexes.rb
-rw-r--r-- 1 root root 592 2008-07-07 15:36 055_drop_pictures.rb
-rw-r--r-- 1 root root 205 2008-07-07 15:36 056_rename_federations.rb
-rw-r--r-- 1 root root 3858 2008-07-07 15:36 058_create_profiles.rb
-rw-r--r-- 1 root root 1693 2008-07-07 15:36 059_make_user_caches_binary.rb
-rw-r--r-- 1 root root 577 2008-07-07 15:36 060_add_privacy_flags_to_groups.rb
rw-r--r-- 1 root root 2661 2008-07-07 15:36 049_add_id_caches_to_user.rb
-rw-r--r-- 1 root root 5624 2008-07-07 15:36 051_add_indexes.rb
-rw-r--r-- 1 root root 560 2008-07-07 15:36 052_create_ratings.rb
-rwxr-xr-x 1 root root 461 2008-07-07 15:36 053_add_notice_to_user_participations.rb
-rwxr-xr-x 1 root root 2658 2008-07-07 15:36 054_add_more_indexes.rb
-rw-r--r-- 1 root root 592 2008-07-07 15:36 055_drop_pictures.rb
-rw-r--r-- 1 root root 205 2008-07-07 15:36 056_rename_federations.rb
-rw-r--r-- 1 root root 3858 2008-07-07 15:36 058_create_profiles.rb
-rw-r--r-- 1 root root 1693 2008-07-07 15:36 059_make_user_caches_binary.rb
-rw-r--r-- 1 root root 577 2008-07-07 15:36 060_add_privacy_flags_to_groups.rb
rw-r--r-- 1 root root 2661 2008-07-07 15:36 049_add_id_caches_to_user.rb
-rw-r--r-- 1 root root 5624 2008-07-07 15:36 051_add_indexes.rb
-rw-r--r-- 1 root root 560 2008-07-07 15:36 052_create_ratings.rb
-rwxr-xr-x 1 root root 461 2008-07-07 15:36 053_add_notice_to_user_participations.rb
-rwxr-xr-x 1 root root 2658 2008-07-07 15:36 054_add_more_indexes.rb
-rw-r--r-- 1 root root 592 2008-07-07 15:36 055_drop_pictures.rb
-rw-r--r-- 1 root root 205 2008-07-07 15:36 056_rename_federations.rb
-rw-r--r-- 1 root root 3858 2008-07-07 15:36 058_create_profiles.rb
-rw-r--r-- 1 root root 1693 2008-07-07 15:36 059_make_user_caches_binary.rb
-rw-r--r-- 1 root root 577 2008-07-07 15:36 060_add_privacy_flags_to_groups.rb