Skip to content

Commit

Permalink
Merge pull request #147 from jpleppers/patch-2
Browse files Browse the repository at this point in the history
Fix ActiveRecord namespacing for store_model_attributes
  • Loading branch information
grosser committed Dec 14, 2015
2 parents 5981f9e + bb2a1b8 commit 3b959f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gettext_i18n_rails/model_attributes_finder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def find(options)
end

def initialize
@existing_tables = ActiveRecord::Base.connection.tables
@existing_tables = ::ActiveRecord::Base.connection.tables
end

# Rails < 3.0 doesn't have DescendantsTracker.
Expand Down

0 comments on commit 3b959f4

Please sign in to comment.