diff options
| author | Anton Kalyaev <anton.kalyaev@gmail.com> | 2013-06-20 22:34:41 +0400 |
|---|---|---|
| committer | Anton Kalyaev <anton.kalyaev@gmail.com> | 2013-06-25 22:31:14 +0400 |
| commit | 512f03e740f625543004be246ef3f5d0141f2f92 (patch) | |
| tree | 168ac1dda5512e16fd344e0c9ea5338a38860498 /guides/source/generators.md | |
| parent | 79abf07be8f623ae803659c38c2692a234cc7831 (diff) | |
| download | rails-512f03e740f625543004be246ef3f5d0141f2f92.tar.gz rails-512f03e740f625543004be246ef3f5d0141f2f92.tar.bz2 rails-512f03e740f625543004be246ef3f5d0141f2f92.zip | |
removed unnecessary mapping for on options
Right before that in `assert_valid_transaction_action` method we make
sure that `options[:on]` contains values from `ACTIONS` array
(`[:create, :destroy, :update]`) and nothing more (i.e. it could not
contain strings or something else, otherwise the error is raised).
Also I've polished some docs.
Diffstat (limited to 'guides/source/generators.md')
0 files changed, 0 insertions, 0 deletions
