Interesting
- Active Record belongs_to will not raise an exception if you haven't run a migration to create the foreign record column. Instead it will assign a virtual attribute that persists through object reloads, but obviously not a fetch. Watch out!
- RSpec was not raising an exception when some of our pivots were calling update_attributes with an attribute that didn't exist. Debugging inline and using the command line will raise exceptions. So again, watch out!
- The first parameter on an RSpec double is arbitrary in nature, but helps other developers understand what you're thinking. Keep everyone happy by naming it something useful.
- Our Pivots dominated at dodgeball last night, with Cathy taking out the other team in a sudden death gladiator round. We'll be keeping the dream alive Monday next week.
Help
- Some pivots need after deploy tasks to run on their heroku instances. Suggestions were to check out heroku_san which has support for additional tasks and great hooks (it's also well tested!)
- One of the projects is having trouble setting up firesass with the Rails 3.2 asset pipeline and bootstrap-sass gem
Interesting
Help
- How does git figure out which gitconfig file to use? If we change the environments HOME variable git doesn't look for the gitconfig in that new location.
Help
- Zabes has noticed that
stub_model is not working correctly in rails 3.2, even after applying the rspec fix. The problem is that stubbed objects aren't returning valid.
Events
- Brownbag today in the common area, Kris Hicks will be teaching us how to git rebase like a boss, this is an open event so feel free to invite your friends.
Interesting
- Assigning a collection with an
= operator will not set the id on the parent object, to do this use <<.
Events
- This weeks brown bag will be on SQL, three of our Australian pivots will be presenting it. You can join our meetup group to find out more information.