From 49ff64155bd864fff291c37e94389a0db0935449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 14 Apr 2009 23:27:09 +0200 Subject: [PATCH] Telling more about belongs_to options in the README --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README b/README index 620b0d1f..5c478416 100644 --- a/README +++ b/README @@ -339,7 +339,9 @@ Remember that our projects have pretty urls? So if you thought that url like belongs_to :project, :finder => :find_by_title!, :param => :project_title end -Check belongs_to file for more customization. :) +It also accepts :route_name, :parent_class and :instance_name as options. +For more information, check the lib/inherited_resources/class_method.rb file +for more customization. :) Nested belongs to -----------------