aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-19 09:49:01 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-19 09:58:14 -0300
commit0e207a499f82c7aefabcddad04fc562df727e663 (patch)
treefd86ff69d3bfe66f6f7168656347e51c0d8cb309 /activerecord/lib/active_record/scoping
parent3e7070622af7b6efe9eb86c2275b2ad895bd5510 (diff)
downloadrails-0e207a499f82c7aefabcddad04fc562df727e663.tar.gz
rails-0e207a499f82c7aefabcddad04fc562df727e663.tar.bz2
rails-0e207a499f82c7aefabcddad04fc562df727e663.zip
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.
Diffstat (limited to 'activerecord/lib/active_record/scoping')
0 files changed, 0 insertions, 0 deletions