[rspec-users] Mocking/Stubbing ActiveRecord.config.default_timezone
mark at mwilden.com
Mon Jan 26 12:57:06 EST 2009
On Mon, Jan 26, 2009 at 9:06 AM, James Byrne <lists at ruby-forum.com> wrote:
> I prefer the style of explicit returns. It makes intent unambiguous.
The thing is that the Ruby idiom is to avoid unnecessary returns. Because of
this, using them actually makes code harder to read, because you have to
read it more carefully to see if they're being used for a legitimate reason.
Just one opinion.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users