On Mar 21, 4:13 pm, elskwid <[email protected]> wrote:
> You mention 'least surprise' but I would contend that modifying Sequel
> in such a way is more surprising than having some Ruby code that any
> rubyist would be able to understand.

Hi Don, forum,
I hate to keep harping on this, but I've been mulling over what you
said.  That is, that modifying Sequel in such a way is more surprising
than having some Ruby code that any rubyist would be able to
understand.

Would it be such a troubling thing if Sequel could optionally disable
implicit dataset assignments?  It would be a matter of specifying the
option when defining a model.

Surely the following example is naive, but here it is:

base.rb.diff  : https://gist.github.com/882106
model.rb.diff : https://gist.github.com/882096

Now, one could define models in this manner : https://gist.github.com/882096

Just an idea.  :-\

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to