Hi, I have model name "Address". class Address < ActiveRecord::Base end And I have written the stub for this model. define Address do belongs_to :addressable, :polymorphic => true methods :id => 1, :full_name => ''Rob Williams'', :street1 => ''New Street'', :street2 => ''New Street2'', :city => ''My City'', :state => ''My State'', :country => ''My Country'', :zip_code => ''123456'', :phone => ''999999999'', :email => ''mymail-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'' end But I am not able to use stub_address here. The rspec takes Address as a plural so it searched for the Addre definition. Is there any way to solve it? Thanks in advance... -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---