Hi, I'd like to filter the input of a setter, I saw model hooks but in this 
case it won't fit well since the column will not be touched in most cases.

something like:

def foo=(param)
  self.foo = ...
end

wont work because ruby will call self until the nice error Stack level too 
deep. With DataMapper I could use set_attribute() method, is there an 
alternative for sequel, or i'll have to use a simple before_ hook?

Lorenzo



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