Skip to content

Conversation

@stasl
Copy link

@stasl stasl commented Nov 29, 2011

update_attributes doesn't work for

  1. not valid records
  2. white listed att_accessible attributes

update_attributes doesn't work for
1) not valid records
2) white listed att_accessible attributes
@rockrep
Copy link
Owner

rockrep commented Nov 29, 2011

Not clear to me why you would want to save invalid records, or to soft-destroy an invalid record.

@stasl
Copy link
Author

stasl commented Nov 29, 2011

Sometimes it is possible to have conditional validation. Example on registration first,last names are optional but mandatory in edit profile. So it is really possible to have invalid records saved in db. Any reason not do delete invalid records.

On 29 Nov 2011, at 18:53, Michael Kintzerreply@reply.github.com wrote:

Not clear to me why you would want to save invalid records, or to soft-destroy an invalid record.


Reply to this email directly or view it on GitHub:
#4 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants