We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
persisted?
changed_in_place
bool
1 parent a5024cf commit 3c3a98bCopy full SHA for 3c3a98b
gems/activemodel/7.1/activemodel-generated.rbs
@@ -1864,7 +1864,7 @@ module ActiveModel
1864
#
1865
# person = Person.new(id: 1, name: 'bob')
1866
# person.persisted? # => false
1867
- def persisted?: () -> false
+ def persisted?: () -> bool
1868
end
1869
1870
@@ -2824,7 +2824,7 @@ module ActiveModel
2824
# +deserialize+.
2825
2826
# +new_value+ The current value, after type casting.
2827
- def changed_in_place?: (untyped raw_old_value, untyped new_value) -> false
+ def changed_in_place?: (untyped raw_old_value, untyped new_value) -> bool
2828
2829
def value_constructed_by_mass_assignment?: (untyped _value) -> false
2830
0 commit comments