Methods

Class Public methods

prefix()

📝 Source code
# File activerecord/lib/active_record/dynamic_matchers.rb, line 109
        def self.prefix
          "find_by"
        end
🔎 See on GitHub

suffix()

📝 Source code
# File activerecord/lib/active_record/dynamic_matchers.rb, line 113
        def self.suffix
          "!"
        end
🔎 See on GitHub

Instance Public methods

finder()

📝 Source code
# File activerecord/lib/active_record/dynamic_matchers.rb, line 117
        def finder
          "find_by!"
        end
🔎 See on GitHub