RailsCasts Pro episodes are now free!

Learn more or hide this

LzGo Dev Team's Profile

GitHub User: thelzgo

Site: www.lzgo.ca

Comments by LzGo Dev Team


Is there a way this can be implemented where you only define new functionality in new versions? Say for example:

I have a Users controller and a Products controller. Products has stayed the same between V1 and V2, but Users has changed. It would be nice if we could set it up so that if I call for V2 of Products, my application knows it doesn't exist and simply uses the most recent controller version instead (in this case, V1).