skip to main | skip to sidebar

johnfredadams - tech

Wednesday, April 2, 2008

Quick ruby if syntax

>> @order.id.eql?(1)
=> false
Posted by John Adams at 7:03 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2010 (3)
    • ►  July (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2009 (1)
    • ►  December (1)
  • ▼  2008 (20)
    • ►  December (1)
    • ►  November (4)
    • ►  September (1)
    • ►  July (1)
    • ►  May (2)
    • ▼  April (7)
      • Gem via proxy
      • Testing Mailer in Console
      • Quick ruby if syntax
      • String and Float formats
      • Conditional validations
      • time.strftime( string ) => string
      • passing a variable to a partial
    • ►  March (4)

About Me

My photo
John Adams
View my complete profile