State Design Pattern
State Design Pattern is often overlooked in favor State Machines when it comes to Rails and object state management. However, the State Design Pattern is a highly effective open/closed solution to many state design woes.
State Design Pattern is often overlooked in favor State Machines when it comes to Rails and object state management. However, the State Design Pattern is a highly effective open/closed solution to many state design woes.
A quick overview of using associations to define good domain descriptions as well as good behavior.
Tell Rails to pass routes to a client with a nifty helper.