Skip to content

Commit 49fd06b

Browse files
committed
Fix: Remove debug statements
Removed commented-out 'byebug' and 'binding.pry' statements from: - app/models/i18n/backend/active_record/translation.rb - app/helpers/pwb/application_helper.rb This addresses a critical improvement recommendation from the codebase analysis.
1 parent 8ca3a94 commit 49fd06b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/helpers/pwb/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def simple_inmo_textarea(f, field_key, placeholder_key, _input_type, required, h
297297

298298
def social_media_link(agency, field_name, field_label, field_icon)
299299
social_media = nil
300-
# binding.pry
300+
301301
if agency.social_media.present? && agency.social_media[field_name].present?
302302
social_media = agency.social_media
303303
end

app/models/i18n/backend/active_record/translation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Translation < ::ActiveRecord::Base
7070

7171
class << self
7272
def import(file)
73-
# byebug
73+
7474
CSV.foreach(file.path, headers: true) do |row|
7575
if row.to_hash["locale"].present? && row.to_hash["key"].present?
7676
# Translation.create! row.to_hash

0 commit comments

Comments
 (0)