Please sign in to comment.
Clarify grouped_options_for_select method API, add changelog entry
Make the method API more clear by explicitly showing the expected arguments. This means that the options cannot be passed as second argument because we are not relying on extract_options! anymore, you are expected to give a selected key or `nil` if you want to pass options, as it is the last argument. Notice that this does not change the current method arguments contract available in 3.2, it just brings back the same functionality with the divider addition.
- Loading branch information...
Showing with 19 additions and 16 deletions.