We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class Animal < ApplicationRecord self.ignored_columns = [:name] end class Dog < Animal self.ignored_columns = [] end def test_sti_ignored_columns_not_match animal = Animal.create(name: "Dog", type: "Dog") animal.expire_second_level_cache Animal.find(animal.id) assert_equal "Dog", Animal.fetch_by_uniq_keys(id: animal.id).name end ------------------------------------------------------------------------------------------------------------------------------ bundle exec rake test result: Failure: FetchByUinqKeyTest#test_sti_ignored_columns_not_match [/Code/second_level_cache/test/fetch_by_uniq_key_test.rb:119]: Expected: "Dog" Actual: nil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: