3 ms·
Seconded! Using current_user.rewards.find(...) is a good stopgap if you're not keen on going as far as using cancan. This won't take care of the parameter whit
by alinajaf 13y ago
Seconded! Using current_user.rewards.find(...) is a good stopgap if you're not keen on going as far as using cancan.
This won't take care of the parameter whitelisting for you though.