ActiveRecord::DynamicMatchers::FindByBang Ruby on Rails 5.1.2 Class ActiveRecord::DynamicMatchers::FindByBang < ActiveRecord::DynamicMatchers::Method activerecord/lib/active_record/dynamic_matchers.rb Methods F finder P prefix S suffix Class Public methods prefix() Link Source: show | on GitHub # File activerecord/lib/active_record/dynamic_matchers.rb, line 109 def self.prefix "find_by" end suffix() Link Source: show | on GitHub # File activerecord/lib/active_record/dynamic_matchers.rb, line 113 def self.suffix "!" end Instance Public methods finder() Link Source: show | on GitHub # File activerecord/lib/active_record/dynamic_matchers.rb, line 117 def finder "find_by!" end