This file contains hidden or 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
- unless flash.empty? | |
- flash.each_pair do |key, message| | |
.flash{:class => "#{key}"}= message |
This file contains hidden or 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
require "autotest/restart" | |
require "autotest/fsevent" | |
require 'redgreen/autotest' | |
$KCODE = 'U' | |
module Autotest::Growl | |
Autotest.add_hook :initialize do |autotest| | |
%w{.git .svn .hg .DS_Store ._* vendor tmp}.each {|exception| autotest.add_exception(exception) } | |
false | |
end |
This file contains hidden or 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
What did you do to get good at Rails? | |
Built an online store, i jumped in the deep end, but after two months part time on rails, i got a cool little app working. | |
From there, i kept building apps, and helping out on #rubyonrails | |
Who taught you what you know? | |
the crew at #rubyonrails, mainly you. | |
Do you have any fond (or not so fond) memories of your learning experiences? |
This file contains hidden or 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
// only outputs if console available and does each argument on its own line | |
function log() { | |
if (window && window.console && window.console.log) { | |
var i, len; | |
for (i=0, len=arguments.length; i<len; i++) { | |
console.log(arguments[i]); | |
} | |
} | |
} |