Hi,

since this question may find answers in either mailing list (ramaze or
sequel), I'm sending this to both. Sorry for the noise.

I'm trying to migrate the following screencast from rails to ramaze,
as part of a potential showcase:
http://teachmetocode.com/screencasts/creating-a-twitter-clone-in-rails-part-1

Around time-stamp 10'45'', the speaker mentions about adding a
dependency so that when a user gets deleted, so get all his flits...

I've already coded my models and I'm checking that this part under
sequel/ramaze, and I cannot make it work.

I've the following lines in my code:

class User < Sequel::Model
  one_to_many :flits, :dependent => :destroy
end

I tried with :destroy and :delete. How to add properly dependency vs
deletion in sequel/ramaze ? I tried to google for info but could not
find anything helpful for this scenario.

Thanks in advance for any hint/tip you could share. Once my work will
be completed, I'll post it on github. It's named 'Flitterz'

Regards,
Christian

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