My env is all the latest:
Rails 4.0.2
Sequel 4.8
sequel-rails latest
Postgres pg gem

I'm tempted to run Rails 3 since I know that works with 
talentbox-sequel-rails.

This is just a simple

class Hotel < Sequel::Model
one_to_many :fliers, class: HotelFlier
end

if I do Hotel.first.fliers, I get the error.

On Tuesday, March 11, 2014 3:46:59 PM UTC-4, GregD wrote:
>
> Not sure what I have wrong.
>
> Simple one_to_many in Rails 4.0.2 is failing.
>
> NoMethodError: undefined method `dataset' for HotelFlier:Module
>
> I don't think this is a Sequel problem.  This is either an user error (me) 
> or a sequel-rails problem. Has anyone seen this before?
>
>
> Thanks,
>
> -GregD
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to