You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/models/concerns
Matt Jankowski 2cc3111a77 Expand spec coverage and refactor the `Account.find_` methods (#3485)
* Move specs for account finder methods to concern spec

* Move account finder methods to concern

* Improve spec wording

* Use more explicit comparison to ensure correct return value

* Add coverage for .find_local! and .find_remote!

* Add some methods to the finder

* Use arel on matching_username method

* Avoid ternary in matching domain method

* Simplify finder methods

* Use an AccountFinder class to simplify lookup
7 years ago
..
account_avatar.rb
account_finder_concern.rb Expand spec coverage and refactor the `Account.find_` methods (#3485) 7 years ago
account_header.rb
account_interactions.rb
attachmentable.rb
cacheable.rb
paginable.rb
remotable.rb
streamable.rb
targetable.rb