RailsCasts Pro episodes are now free!

Learn more or hide this

Manuel Meurer's Profile

GitHub User: manuelmeurer

Site: http://manuelmeurer.com

Comments by Manuel Meurer

Avatar

This doesn't seem like a good solution to me. Overwriting the "resources" method in an initializer will confuse the heck out of anyone looking at your code except yourself.
I'd say if you need to support users with JS disabled, use a button (and don't make it look like a link either!)

Avatar

One of the best casts I've seen from you! Big +1 for covering insufficient funds and cancellation. Would be a shame not to do it now that you refactored everything nicely into its own model. :)