search for: 5bid

Displaying 2 results from an estimated 2 matches for "5bid".

Did you mean: 5b5d
2007 Dec 11
14
Attachment-fu + Story Runner
Hi all, I''m trying to run a Story Runner integration test that uploads a file through Attachment-fu. I''ve tried various ways of specifying the file data, from custom mocks: class MockFile < Struct.new (:original_filename, :read, :content_type); end fdata = MockFile.new "test_upload.txt", "Test Upload", "text/plain" to
2006 Aug 12
2
Strange form_tag behaviour
...project/show/123 If I use: <%= form_tag ({ :action => ''show'', :id => @project.id}, :method => ''get'' ) %> ... <%= submit_tag ''go'' %> <%= end_form_tag %> I get a URL back of the form: .../projects/show/559?project%5Bid%5D=673&commit=go The problems here are: 1) The parameters are appended on the original URL (.../projects/show/559). Why is the previous id still showing? 2) The whole "project id = 673" and "commit = go" are present. I just want the id number as shown above. Help! This...