Interesting Things
Rubymine, just released a new beta revision 856. So far it “seems to work”.
When using Object-Mother patterns for creating objects in tests (i.e. Fixjour, FactoryGirl) one gotcha that caused one of our teams some pain was when inadvertently setting an object and object_id for the same association. For example, setting
person = @nateandperson_id = @david.idin the same object creation will cause really weird problems. Our team debugged and solved this by validating object creation … essentially writing tests for your test objects.Try mapping SHIFT + Space to the underscore character, and save your underscore finger from unnecessary travel.