I've had that annoyance too. Another thing I really want to see fixed
in 2.0 is when the controller returns something that isn't a string,
ignore it! Don't throw exceptions about thingo not being a stringo.
Writing methods called using xmlhttprequests, sometimes I don't return
anything, so the last method ends up returning a number or something
and breaks everything. I shouldn't have to put return ''; at the end
of a controller method to make it work.
On 05/06/2008, at 8:58 AM, Aria Stewart wrote:
On Jun 4, 2008, at 4:46 PM, Bluebie, Jenna wrote:
No no, this is something we can use in helper methods, so writing
'render :blah' for instance would render it and terminate the
thingo... instead of having to be the very last thing in the
controller method or be prefixed with return. Though I don't mind
this too much, it would open possibilities for some nifty things.
I almost expected this behavior. I've certainly wondered where my
view went when I did something after rendering.
Aria Stewart
[EMAIL PROTECTED]
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list