2005/12/7, Francois Beausoleil <[EMAIL PROTECTED]>:
> In the end, we're trying to keep the principle of least surprise
> active.  What's less suprising:
>
> instance.transaction = Transaction.new
> # NoMethodError
>
> - OR -
>
> instance.transaction do
>   bla
>   bla
> end
>
> # nothing committed - no unit tests = bug not exposed

So, what do we do ?  We could also take the status quo, and just add
the patch as-is, meaning relationships would prevent reusing existing
method names, but columns are not.

Bye !
--
François Beausoleil
http://blog.teksol.info/
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to