lib/sequel/model.rb in sequel-3.10.0 vs lib/sequel/model.rb in sequel-3.11.0
- old
+ new
@@ -49,11 +49,11 @@
full_join full_outer_join get graph grep group group_and_count group_by having import
inner_join insert insert_multiple intersect interval invert join join_table
last left_join left_outer_join limit lock_style map max min multi_insert naked
natural_full_join natural_join natural_left_join natural_right_join order order_by
order_more paginate print qualify query range reverse reverse_order right_join right_outer_join
- select select_all select_hash select_map select_more select_order_map
+ select select_all select_append select_hash select_map select_more select_order_map
server set set_defaults set_graph_aliases set_overrides
single_value sum to_csv to_hash truncate unfiltered ungraphed ungrouped union unlimited unordered
update where with with_recursive with_sql'.map{|x| x.to_sym}
# Class instance variables to set to nil when a subclass is created, for -w compliance
@@ -70,11 +70,12 @@
# Class instance variables that are inherited in subclasses. If the value is :dup, dup is called
# on the superclass's instance variable when creating the instance variable in the subclass.
# If the value is nil, the superclass's instance variable is used directly in the subclass.
INHERITED_INSTANCE_VARIABLES = {:@allowed_columns=>:dup, :@dataset_methods=>:dup,
:@dataset_method_modules=>:dup, :@primary_key=>nil, :@use_transactions=>nil,
- :@raise_on_save_failure=>nil, :@restricted_columns=>:dup, :@restrict_primary_key=>nil,
+ :@raise_on_save_failure=>nil, :@require_modification=>nil,
+ :@restricted_columns=>:dup, :@restrict_primary_key=>nil,
:@simple_pk=>nil, :@simple_table=>nil, :@strict_param_setting=>nil,
:@typecast_empty_string_to_nil=>nil, :@typecast_on_assignment=>nil,
:@raise_on_typecast_failure=>nil, :@plugins=>:dup}
# Regexp that determines if a method name is normal in the sense that
@@ -98,9 +99,10 @@
@overridable_methods_module = nil
@plugins = []
@primary_key = :id
@raise_on_save_failure = true
@raise_on_typecast_failure = true
+ @require_modification = nil
@restrict_primary_key = true
@restricted_columns = nil
@simple_pk = nil
@simple_table = nil
@strict_param_setting = true