I think I presumed that was the case because of my experience trying
to do it with symbols. I just read the Rdoc on virtual rows (which,
incidentally, are really cool) and it makes sense now.

Thanks again.

On Feb 8, 7:31 am, Jeremy Evans <[email protected]> wrote:
> On Feb 7, 7:36 pm, cult hero <[email protected]> wrote:
>
> > I know some conventions that worked in Ruby 1.8 do not work in Ruby
> > 1.9, most notably something like this:
>
> > check{num > 5}
>
> > How would I accomplish this in a migration 1.9? I know how I'd do it
> > in a filter method, but not in a check.
>
> That appears to work for me.  > on a symbol won't work, but it still
> works in a virtual row block.  In fact, one of the main reasons for
> virtual row blocks is that they work on both ruby 1.8 and ruby 1.9.
>
> Jeremy

-- 
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