My class:
class User < Sequel::Model(:user)
validates do
presence_of :login
end
end
result error: undefined method `validates'
there is no more validation methods in sequel?
i'm using sequel 3.5.0
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---