title: Usernames clashing with existing routes (FriendlyId)
body: <p>Users of my app are now able to access their profile (<code>users/show.html.erb</code>) like so:</p>
  
  <pre><code>domain.com/johndoe
  </code></pre>
  
  <p>To make that happen, I used the following code</p>
  
  <h3>routes.rb:</h3>
  
  <pre><code>get '/:friendly_id', to: 'users#show', as: 'user'
  </code></pre>
  
  <h3>user.rb:</h3>
  
  <pre><code>extend FriendlyId
  friendly_id :username, use: [:finders]
  validates_uniqueness_of :username
  </code></pre>
  
  <h3>users_controller.rb:</h3>
  
  <pre><code>def show
      @user = User.friendly.find(params[:friendly_id])
  end
  </code></pre>
  
  <p>The problem is my other routes such as <code>domain.com/explore</code> and <code>domain.com/admin</code> no longer work since the router thinks they are usernames. Just to clarify, "explore" and "admin" are not user profiles but models of their own.</p>
  
  <p>Now it throws an error like this:</p>
  
  <blockquote>
    <p>can't find record with friendly id: "explore"</p>
  </blockquote>
  
  <p>How can I solve this problem? </p>