You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it makes sense not to update fields, but you still need to set them for new records. You are already doing this for created_(at|on). We have a use case for not updating an additional field.
This would be much easier to implement than different create_atts and update_atts like suggested in #17 by passing an option and then using it in here:
def update_column_definitions
setter_column_definitions.select { |cd| cd.name !~ CREATED_COL_REGEX }
end
Does that make sense? Would you integrate such a pull request into your gem?
The text was updated successfully, but these errors were encountered:
Sometimes it makes sense not to update fields, but you still need to set them for new records. You are already doing this for created_(at|on). We have a use case for not updating an additional field.
This would be much easier to implement than different create_atts and update_atts like suggested in
#17 by passing an option and then using it in here:
Does that make sense? Would you integrate such a pull request into your gem?
The text was updated successfully, but these errors were encountered: