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
function toggle_nav(id){ | |
nav = $(id); | |
if(!nav.hasClassName('selected')){ | |
$$('.splash_nav_child').each(function(e){ | |
e.removeClassName('selected'); | |
}); | |
nav.addClassName('selected') | |
} | |
} |
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
class Repository < ActiveRecord::Base | |
def self.find_available(login) | |
Github.new(login).public_repositories.collect(&:name) - User.find_by_login(login).repositories.collect(&:name) | |
end | |
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
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- spec/autorun (LoadError) from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from /Users/egunderson/Library/Application Support/TextMate/Pristine Copy/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:14 from /tmp/textmate-command-22067.rb:2:in `require' from /tmp/textmate-command-22067.rb:2 |
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 finalized? | |
clicked_finalized? && (total_final_invoice.blank? || charged_on) | |
end |
NewerOlder