aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/scoping.rb
diff options
context:
space:
mode:
authorBenjamin Fleischer <bf4@users.noreply.github.com>2018-10-25 10:36:39 -0500
committerGitHub <noreply@github.com>2018-10-25 10:36:39 -0500
commit170cb2ee9ba825c6f9ea6544bb118f7e31194251 (patch)
tree900f570cb2cb334e174592ac06dc742ec48e201a /activerecord/lib/active_record/scoping.rb
parenta3dcba42e2422eb9c2e77011a39ce72dc934b420 (diff)
downloadrails-170cb2ee9ba825c6f9ea6544bb118f7e31194251.tar.gz
rails-170cb2ee9ba825c6f9ea6544bb118f7e31194251.tar.bz2
rails-170cb2ee9ba825c6f9ea6544bb118f7e31194251.zip
ActionController::API *does* support cookies, sessions
ActionController::Metal provides session support by delegating `session to the request (`"@_request"`) https://github.com/rails/rails/blob/a3dcba42e2422eb9c2e77011a39ce72dc934b420/actionpack/lib/action_controller/metal.rb#L149 Though the ActionController::Cookies modules isn't included, it's really a convenience for providing a first class `cookies` object. *all* ActionController::Metal subclasses support setting cookies via the `session` object.
Diffstat (limited to 'activerecord/lib/active_record/scoping.rb')
0 files changed, 0 insertions, 0 deletions