public
Rubygem
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
updated documentation

git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@391 
7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
tsaleh (author)
Tue Mar 18 12:59:45 -0700 2008
commit  80095da4de450f962b605b2e079eda9b801aa44b
tree    4f658a8d61ea3cfd61180e4d0f4c71d8d482f196
parent  4ae2cea03674f2d0614a04a55398a68d5fe1dac1
...
152
153
154
155
 
 
 
156
157
158
...
152
153
154
 
155
156
157
158
159
160
0
@@ -152,7 +152,9 @@ module ThoughtBot # :nodoc:
0
           # Defaults to the underscored name of the AR class. CompanyManager => :company_manager
0
           attr_accessor :object
0
 
0
- # Name of the parent AR objects.
0
+ # Name of the parent AR objects. Can be set as parent= or parents=, and can take either
0
+ # the name of the parent resource (if there's only one), or an array of names (if there's
0
+ # more than one).
0
           #
0
           # Example:
0
           # # in the routes...

Comments

    No one has commented yet.