Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

ZuevEvgenii's Profile

GitHub User: ZuevEvgenii

Comments by

Avatar

Anyone faced with this problem?
When I do like this:

ruby
text :comments do
    comments.map(&:content)
end

And then try to destroy article in model of which has line:

ruby
   has_many :comments, :dependent => :destroy

Comments are not deleted!