dep: bump to ruby 3.4.5
Also: - bump bundler to 2.7.0 - work around the fix for https://bugs.ruby-lang.org/issues/21196 that appeared in 3.4.5
This commit is contained in:
@@ -58,16 +58,16 @@ class Command::Parser::Context
|
||||
Collection.where("lower(name) like ?", "%#{string.downcase}%").first
|
||||
end
|
||||
|
||||
def filter
|
||||
user.filters.from_params(params.permit(*Filter::Params::PERMITTED_PARAMS).reverse_merge(**FilterScoped::DEFAULT_PARAMS))
|
||||
end
|
||||
|
||||
private
|
||||
attr_reader :controller, :action, :params
|
||||
|
||||
MAX_CARDS = 20
|
||||
MAX_CLOSED_CARDS = 10
|
||||
|
||||
def filter
|
||||
user.filters.from_params(params.permit(*Filter::Params::PERMITTED_PARAMS).reverse_merge(**FilterScoped::DEFAULT_PARAMS))
|
||||
end
|
||||
|
||||
def viewing_card_perma?
|
||||
controller == "cards" && action == "show"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user