Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions lib/strainer/behaviors/action_view_image_tag_changes.rb

This file was deleted.

50 changes: 0 additions & 50 deletions lib/strainer/behaviors/mailer_with_path_helpers.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/strainer/behaviors/parameters_as_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module ReConvertValue

private

def convert_value(value, conversion: nil)
def convert_value(value, options = {})
return value if value.is_a? ActionController::Parameters

super
Expand Down
30 changes: 0 additions & 30 deletions lib/strainer/behaviors/relation_query_method_changes.rb

This file was deleted.

9 changes: 0 additions & 9 deletions lib/strainer/patches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,8 @@ def self.setup!(component)
Behaviors::ForcedReloading,
Behaviors::RelationDelegationChanges,
Behaviors::FinderChanges,
Behaviors::RelationQueryMethodChanges,
Behaviors::ActiveRecordBeforeCallbackChanges
)
when :action_mailer
load_behaviors(
Behaviors::MailerWithPathHelpers
)
when :action_view
load_behaviors(
Behaviors::ActionViewImageTagChanges
)
end
end
# rubocop:enable Metrics/MethodLength
Expand Down