Skip to content

Instantly share code, notes, and snippets.

View helloluis's full-sized avatar
💭
Just shillin'

Luis Buenaventura helloluis

💭
Just shillin'
View GitHub Profile
@helloluis
helloluis / Slim HTML5 Boilerplate Conditional Comments
Created August 31, 2011 08:52
How to get HTML5 Boilerplate-style Conditional Comments Working in Slim
doctype html
/[if lt IE 7]
| <html class="ie6">
/[if IE 7]
| <html class="ie7">
/[if IE 8]
| <html class="ie8">
/[if IE 9]
| <html class="ie9">
| <!--[if (gte IE 9)|!(IE)]<!--> <html> <!--<![endif]-->
Error starting application
Your Rack app raised an exception when Pow tried to run it.
SystemExit: exit
~/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.12/lib/bundler/setup.rb:10:in `exit'
~/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.12/lib/bundler/setup.rb:10:in `rescue in <top (required)>'
~/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.12/lib/bundler/setup.rb:5:in `<top (required)>'
~/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
~/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
Show 21 more lines
(If your app uses Bundler, check to make sure you have the latest version, then run bundle install. If you’re using rvm, make sure you have the latest version installed and your app is using the right gemset.)
On branch master
# Your branch and 'origin/master' have diverged,
# and have 3 and 43 different commit(s) each, respectively.
#
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: README.md
# modified: assets/stylesheets/guest.css
# modified: builder/.gitignore
<p class="<%= @article.toggled? ? "hidden" : "visible" %>">blah</p>
== UpdateArchivedSaChildSocialActivities: migrating ==========================
rake aborted!
An error has occurred, 20110629072738 and all later migrations canceled:
undefined method `has_key?' for "beach":String
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:149:in `block (2 levels) in apply_default_attributes'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:148:in `each_pair'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:148:in `block in apply_default_attributes'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:147:in `tap'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:147:in `apply_default_attributes'
NoMethodError (undefined method `has_key?' for "dog":String):
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:149:in `block (2 levels) in apply_default_attributes'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:148:in `each_pair'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:148:in `block in apply_default_attributes'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:147:in `tap'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/attributes.rb:147:in `apply_default_attributes'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/document.rb:262:in `block in instantiate'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/lib/mongoid/document.rb:260:in `tap'
/Users/luis/.rvm/gems/ruby-1.9.2-p0/bundler/gems/mongoid-6bd8077ea91e/li