Skip to content

Commit 085ba53

Browse files
committed
Hey look, it passes
1 parent 7e1849c commit 085ba53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_model_serializers/model.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Model
99
# Configuration to avoid a breaking change with older versions of this class which lacked defined attributes.
1010
# Previous behavior was: 1) initialized attributes were the
1111
class_attribute :attributes_are_always_the_initialization_data, instance_writer: false, instance_reader: false
12-
self.attributes_are_always_the_initialization_data = true
12+
self.attributes_are_always_the_initialization_data = false # remove this commit, just for demonstration
1313
module AttributesAreAlwaysTheInitializationData
1414
def initialize(attributes = {})
1515
@initialized_attributes = attributes && attributes.symbolize_keys

0 commit comments

Comments
 (0)