Brent Wheeldon's blog
Ask for Help
"Has anyone used cucumber for code coverage? We're trying to find dead code."
SimpleCov worked great for rspec, but when used with cucumber introduced a lot of timeouts.
Interesting Things
- In rspec you can use dot notation as the argument on its calls, for example:
its(:"items.count") { should == 5 } - Scrollorama - The jQuery plugin for doing cool scrolly stuff.
Ask for Help
"Sean asked about git rebase complaining about no changes?"
The suggestion was that it was generally safe to just skip in this situation.
Interesting Things
- Schubert pointed out an interesting article on the Amazon downtime - http://aws.amazon.com/message/65648/
Interesting Things
- Samantha and Sean found a Vim command called :cucumberunusedsteps which was useful for cleaning out unused steps. It didn't work with some more complicated regexes or steps called from within steps so caution is needed when removing apparently unused steps.
Ask for Help
"Brent and Kris asked if anyone had encountered an after_destroy callback being called twice?"
Few suggestions were check that it was only one object being deleted, that there are no dependent objects being cascade deleted, etc.
"Joe asked about how to set default_url_options for? There are no mailers involved as far as he knew."
Grant suggested trying to set it per class.
"New Lee asked about were there any updates/alternatives for AccessList as the gem is causing him grief with sorting."
Ian knew of an alternative to AccessTree, Lee is still looking.
Interesting Things
- Jonathon pointed out that background-color: cover and :clipping were useful for playing with background images
- New Lee brought up that if you're using a form builder on a collection Rails will create a hidden for ID which will always get inserted (and may cause a problem if you're nesting things in a ul or table). To get around this put in a hidden for ID in an appropriate place and Rails will stop generating one.
- Jonathon ended up being pointed towards Heydown as an alternative to ShowOff for presentations by Davis
Ask for Help
"Jonathan Berger asked if anyone has much experience with ShowOff?"
Davis was going to speak to Jonathan offline.
Interesting Things
- Joe pointed out the syntax to push remotely was:
git push remote local:remote
Interesting Things
- New release of Sass (3.1). Includes the ability to create custom function, introduces an "each" and improves it's colour functions.
