Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first_name = 'ed' | |
nick_name = 'ebot' | |
puts "Hello, my name is #{first_name}, but everyone calls me #{nick_name}." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Det crasher! | |
def virker_ikke | |
e = 3 | |
b = 0 | |
e / b | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def virker | |
e = 3 | |
b = 0 | |
return 0 if b == 0 | |
e / b | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |