Add attr_accessible, :dependent for has_many