Jamie's Weblog

Procrastination and utter drivel since 2001!
  • Email
  • Github
  • Linkedin
  • Twitter
  • Rss
  • Home
  • About
  • Archives
  • Publications
Home» Projects » BalanceTrackr

Conditional Validation in Rails

Posted on July 4, 2007 by Jamie Lawrence in BalanceTrackr, Ruby on Rails

I was implementing the Strategy pattern presented here to avoid the limitations of Single-Type Inheritance but I wanted to implement some conditional validations based on the type: If it’s a “MonthDay-based” recurring event (e.g. 23rd of every month), then the monthday field must be present If it’s a “Date-based” recurring event (e.g. 1st August, repeating [...]

No Comments View Post

BalanceTracker: Introduction

Posted on June 19, 2007 by Jamie Lawrence in BalanceTrackr, Projects, Ruby on Rails

I previously used an Excel spreadsheet to budget my quarterly student stipend and ensure that rent was paid, known expenses were accounted for and Visa cards paid off. This worked reasonably well but marriage and moving back to Ireland has made the personal finances a little more complicated: We each get paid at different times [...]

2 Comments View Post

Contact Me

  • jamie@ideasasylum.com
  • ideasasylum
    • Twitter

Categories

  • BalanceTrackr (2)
  • C# (1)
  • dualpricing.ie (2)
  • hack (1)
  • Java (4)
  • Linux (3)
  • Measure it to change it (1)
  • Parenting (2)
  • Personal (36)
  • Photography (13)
  • Projects (7)
  • Python (3)
  • rant (17)
  • Reviews (20)
  • Ruby on Rails (16)
  • Taskmonifier (1)
  • Tech (1)
  • Tips & Tricks (7)
  • tuesdaypush (1)
  • Uncategorized (877)
  • Useful (3)
  • Weekly Picks (5)
  • Work (2)

Tags

accident barcampcork batteries bizcamp business car copyright depression diy dual pricing eneloop fowadublin fun gallstones git svn hack health ipad iphone lens life material motivation nginx Personal phd photographers photography photos pinterest podcasts quote rails rant renault scenic review rspec ruby sew shutterscouts startups swimming vagrant windows wrap

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

(c) 2012 Jamie's Weblog