class method
self.pattern
Ruby on Rails 6.0.6
Since v4.0.13 Last seen in v8.0.4Signature
self.pattern()
No documentation comment.
Source
# File activerecord/lib/active_record/dynamic_matchers.rb, line 37
def pattern
@pattern ||= /\A#{prefix}_([_a-zA-Z]\w*)#{suffix}\Z/
end
Defined in activerecord/lib/active_record/dynamic_matchers.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::DynamicMatchers::Method