method
    
    link_to_unless
 
  link_to_unless(condition, name, options = {}, html_options = {}, *parameters_for_method_reference, &block)
  public
  Create a link tag of the given name using an URL created by the set of options, unless condition is true, in which case only the name is returned (or the given block is yielded, if one exists).

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
     
    
    
     
   
   
   
  