Methods

Class Public methods

prefix()

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

suffix()

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

Instance Public methods

finder()

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