Skip to content

Add paranoia_destroy_attributes support for really_destory!#344

Open
shizm wants to merge 1 commit intorubysherpas:corefrom
shizm:really_destroy_for_active_column_model
Open

Add paranoia_destroy_attributes support for really_destory!#344
shizm wants to merge 1 commit intorubysherpas:corefrom
shizm:really_destroy_for_active_column_model

Conversation

@shizm
Copy link

@shizm shizm commented Jul 13, 2016

If target model has paranoia_destroy_attributes method and called really_destroy method,
attribute is not updated correctly, so deprecation warning message has shown.

DEPRECATION WARNING: You attempted to assign a value which is not explicitlytrueorfalse(2016-07-13 08:38:45 UTC) to a boolean column. Currently this value casts tofalse. This will change to match Ruby's semantics, and will cast totruein Rails 5. If you would like to maintain the current behavior, you should explicitly handle the values you would like cast tofalse. (called from block in <main> at (pry):2)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants