Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

[SF Standup 8/9/2011]: Answering our own questions

Ken Mayer
Tuesday, August 9, 2011

Ask for Help

“Does the selenium driver send mouse events?”

Yes… but, for drag and drop testing, it is often impossible to get right. The best alternative is to use the jQuery simulate plugin as mentioned in the jQuery forum

“Why does AREL make some associations read-only (and then raise ActiveRecord::ReadOnly exceptions)?”

This happens around associations that create compound objects (such as by the popular paperclip gem), where AR can’t know what is writable and what isn’t. The solution (as blogged about many times), is to include a :select => 'foo.*' in your query to pull out only the writable attributes.

“Be wary of using RR to stub class methods in ActionMailer”

It has something to do with both ActionMailer and RR using method_missing and, of course, not playing nicely together. The other solution mentioned was to stub on .any_instance instead of the class methods. Other references Pivotal Blabs-NY Standup and Technical.Pickles.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

One comment

  1. csmrfx says:

    Did you really invent the time machine? Do tell us which won in 2012, apple or android? :D

    August 15, 2011 at 6:54 am

Add New Comment Cancel reply

Your email address will not be published.

Ken Mayer

Ken Mayer
San Francisco

Recent Posts

  • Sencha Touch BDD – Part 5 – Controller Testing
  • Sencha Touch BDD – Part 4 – PhantomJS
  • Sencha Touch BDD – Part 3 – Testing Views and Mocking Stores
Subscribe to Ken's Feed

Author Topics

bdd (5)
bloggerdome (5)
jasmine (6)
javascript (5)
mobile (6)
sencha (5)
meta programming (1)
refactoring (1)
ruby (1)
agile (18)
planning (1)
design (2)
heroku (3)
rails (8)
workflow (5)
cucumber (3)
testing (4)
performance (3)
devops (1)
jquery (2)
careers (1)
college job fairs (1)
hiring (1)
jobs (1)
recruitment (1)
bundler (3)
facebook (1)
json (1)
nginx (1)
movember (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >