There seems to be a small bug with has_one relationships and resource
in the routes.
Example:

where beta has_one alpha

In routes:
resource alpha

In view:

form_for @alpha --> automatic link is alpah_path(id) and not
alpha_path
and in this case since there is no id in the route, the id takes the
place of the format param -> /alpha.1

Thanks!
Mike

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to