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!)
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. :)
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!)
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. :)