On 2 March 2011 20:18, David Kahn <[email protected]> wrote:

> On Wed, Mar 2, 2011 at 1:46 PM, Colin Law <[email protected]> wrote:
>> ...
>> It seems as if shoulda is not picking up the inflections for some
>> reason.  I don't use shoulda, can you output debug during its
>> execution?  Is so what happens if you output
>> "xp_jurisdiction_taxes".singularize and "taxes".singularize?
>
> Good question... and rails gets it right:
>
> ruby-1.9.2-p136 :004 > 'xp_jurisdiction_taxes'.singularize
>  => "xp_jurisdiction_tax"

I meant to output that during the test itself if possible, to make
sure that the inflections have been picked up at that time.

Colin

-- 
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.

Reply via email to