| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Un-define :to_json for Customer class after stubbing.
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
This fixes an issue where the respond_with worked directly with the given
options hash, so that if a user relied on it after calling respond_with,
the hash wouldn't be the same.
Fixes #12029
|
|
|
|
| |
This interface should be use when implementing renderers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
renderer is available.
Currently if a user calls #respond_with(csvable), but has not csv
renderer available, Responder will just run through the default render
behavior twice, raising ActionView::MissingTemplate both times.
This changes ActionController::Metal::Responder#api_behavior to check
in advance whether there is a renderer available, and raise
ActionController::MissingRenderer if not.
|
|
test files.
|