REDACTED! Okay, it's 100% my error.
Ability#initialize IS getting called. The source of my woes: I was explicitly passing :user_id => 1001 to Premise#initialize, which was overriding the :user_id that CanCan was providing. It was bad luck (or bad judgement) that I chose 1001 as the id -- this caused it to work on the first test and fail on the second. The halos of Saint Bates and Saint Chelimsky are still untarnished! (Now I can go debug why respond_with @premise is getting a "Not Acceptable" response.) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

