Skip to content

Commit

Permalink
Remove backwards compatibility comments for a couple model class methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jul 21, 2017
1 parent 1908bfb commit 3ff686c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/sequel/model/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ module ClassMethods
# (default: not set, so all columns not otherwise restricted are allowed).
attr_reader :allowed_columns # SEQUEL5: Deprecate after release

# Whether to cache the anonymous models created by Sequel::Model(). This is
# required for reloading them correctly (avoiding the superclass mismatch). True
# by default for backwards compatibility.
# Whether to cache the anonymous models created by Sequel::Model(), true by default. This is
# required for reloading them correctly (avoiding the superclass mismatch).
attr_accessor :cache_anonymous_models

# Array of modules that extend this model's dataset. Stored
Expand Down Expand Up @@ -716,7 +715,7 @@ def implicit_table_name
pluralize(underscore(demodulize(name))).to_sym
end

# Calls #call with the values hash. Only for backwards compatibility.
# Calls #call with the values hash.
def load(values)
call(values)
end
Expand Down

0 comments on commit 3ff686c

Please sign in to comment.