Methods
Attributes
[R] | pattern |
Class Public methods
finder()
📝 Source code
# File activerecord/lib/active_record/dynamic_matchers.rb, line 84
def finder
"find_by"
end
🔎 See on GitHub
match?(name)
📝 Source code
# File activerecord/lib/active_record/dynamic_matchers.rb, line 80
def match?(name)
pattern.match?(name) && self
end
🔎 See on GitHub