search for: note_path

Displaying 4 results from an estimated 4 matches for "note_path".

Did you mean: notes_path
2007 Sep 14
2
Testing a nested controller
...ted controller. I''m trying to make a request using get and afterwards checking the response by response.should ... My routes.rb looks like this: map.resources :writers do |writers| writers.resources :notes end In my notes_controller_spec.rb def do_get writer_id = 1 note_id = 1 get note_path(writer_id, note_id) end it "should show a note" do do_get response.should be_success end But this always ends in an error message: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.rewrite Can anybody help here?? -- by(e) Andreas Wol...
2007 Sep 14
2
Testing nested controller
...controller. I''m trying to make a request using get and afterwards checking the response by response.should ... My routes.rb looks like this: map.resources :writers do |writers| writers.resources :notes end In my notes_controller_spec.rb def do_get writer_id = 1 note_id = 1 get note_path(writer_id, note_id) end it "should show a note" do do_get response.should be_success end But this always ends in an error message: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.rewrite Can anybody help here?? -- by(e) Andreas W...
2003 Nov 06
1
running samba
I've installed the standard samba that comes with debian in the past. To start samba manually you just have to run the command nmbd and smbd. But when I compile and make samba 3 from source, to run samba I have to first go into the directory nmbd and smbd is in and then type in ./nmbd and ./smbd. I have tried to chmod a+x nmbd and chmod a+x smbd but this does not change the problem. I want to
2010 Jan 21
2
will_paginate ?
Does anyone have experience with will_paginate? I''m trying to use it with acts_as_ferret. routes.rb ... map.search ''/search'', :controller => ''notes'', :action => ''search'' notes.rb ... acts_as_ferret :fields => [ ''body'' ] notes_controller.rb ... def search if params[ :query ] @query = params[