On Aug 24, 9:34 pm, Jeremy Evans <[email protected]> wrote:

> The Sequel way to do this would be to override set_dataset in the
> plugin's ClassMethods, call super, then check db_schema and add the
> dataset methods at that point, in addition to checking the model that
> loads the plugin (if it has a dataset).  If that makes sense, give it
> a shot and let me know if you get stuck.
>
> Jeremy

Hi Jeremy,

Yes, that makes sense. Similar to what the boolean_readers plugin
does. I'll give it a shot.
The code I pasted earlier has a typo, the filter should be
filter{(col >= from_date) & (col < to_date + 1)}

Thanks, Rohit

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