search for: group_url

Displaying 2 results from an estimated 2 matches for "group_url".

Did you mean: groups_url
2007 May 02
4
Shared Nested Resources
The skinny is that I''m attempting to add "Discussions" as resources under different resources ("Groups", "Projects", for example) and I''ve simply hit a roadblock (or two). Discussions are an association between the "discussable" (Group, Project, etc.) and a "Topic" so: class Discussion < ActiveRecord::Base belongs_to :topic
2007 Oct 28
2
failing test with nested controller routes
...for admin. the specs are the same as generated, so I won''t post the whole thing. I did put the nested routes names on the calls to the name routes: it "should redirect to the new group on successful save" do post_with_successful_save response.should redirect_to(admin_group_url("1")) end the error: 1) ''Admin::GroupsController handling POST /admin/groups should redirect to the new group on successful save'' FAILED expected redirect to "http://test.host/admin/groups/1", got redirect to "http:// test.host/groups/1" ./spec/con...