Skip to content

Commit

Permalink
Fix the outstanding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorova committed Jan 8, 2025
1 parent 8b5923c commit 918f294
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/models/proxy_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def update_version

# Read the value
self.version = config.connection.select_value(config.select(:version)).to_i
clear_attribute_changes [:version]
end

def clone_to(environment:)
Expand Down
9 changes: 5 additions & 4 deletions config/initializers/money.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
require 'three_scale/money_conversions'
require 'three_scale/has_money'

ActiveSupport.on_load(:active_record) do
include ThreeScale::HasMoney
end

Rails.application.config.to_prepare do
ActionController::Base.helper(ThreeScale::MoneyHelper)

ActiveSupport.on_load(:active_record) do
ActiveRecord::Base.include ThreeScale::HasMoney
end
end
Empty file.
File renamed without changes.

0 comments on commit 918f294

Please sign in to comment.