Created
          April 13, 2013 15:01 
        
      - 
      
- 
        Save chadjemmett/5378745 to your computer and use it in GitHub Desktop. 
    A method for rails where you can take a boolean and convert the true false to yes no.
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def complete_yes_no | |
| self.complete ? "Yes" : "No" | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment