If there is a parent, returns the relevant association proxy. Otherwise returns model.
Returns true/false based on whether or not a parent is present.
Returns the relevant association proxy of the parent. (i.e. /posts/1/comments # => @post.comments)
Like the model method, but for a parent relationship.
Returns the current parent object if a parent object is present.
Returns the current parent param, if there is a parent. (i.e. params[:post_id])
Returns true/false based on whether or not a parent is a singleton.
Returns the type of the current parent
Returns the type of the current parent extracted from params
Returns the type of the current parent extracted form a request path
[Validate]