Displaying 3 results from an estimated 3 matches for "status_sent".
Did you mean:
status_seen
2008 Mar 11
2
Mongrel 1.1.4, possible bug http_response
...ocket.close rescue nil
- done = true
+ self.done = true
raise details
end
@@ -150,9 +150,9 @@
# Used during error conditions to mark the response as "done" so
there isn''t any more processing
# sent to the client.
def done=(val)
- @status_sent = true
- @header_sent = true
- @body_sent = true
+ @status_sent = val
+ @header_sent = val
+ @body_sent = val
end
def done
* If done=() is never reverted, it might be more beneficial to replace
done=(val) just by a done!() and call that in socket_error() in...
2006 Mar 23
8
DRY principle - how to implement?
Hi all!
I have ''send_status'' table which looks something like these:
id code title
1 sent Sent
2 error Sending error
3 success Success
Next I would like to associate some processed records with their
''send_status''. Is it better to use:
1)
record.status_id = SendStatus.find(:one, :condition => "code=''sent''").id
to
2006 Aug 24
3
Mousehole stuff
Hey everyone,
I''m using mousehole for the first time today (love the artwork, btw) and I
seem to be having problems with Camping and Markaby. When I go to the Apps
page I get:
Camping Problem! MouseHole::Controllers::RApps.GET TypeError
/Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t
convert String into Array:bla bla bla...
The line in question