Dan Croak
|
00544c778f
|
Add test ensuring redirect_to uses the given protocol [#2886]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2009-08-08 20:48:39 +01:00 |
|
Yehuda Katz
|
ad98827a78
|
Merge commit 'jose/responder'
|
2009-08-08 12:54:02 -03:00 |
|
José Valim
|
6e0ac748e4
|
Renamed ActionController::Renderer to ActionController::Responder and ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector.
|
2009-08-08 17:48:07 +02:00 |
|
Yehuda Katz
|
efcfce50c4
|
Fixes "Cached fragment hit" written to log even if fragment is not cached (Erik Andrejko) [#2917 state:resolved]
|
2009-08-08 12:46:44 -03:00 |
|
Jeremy Kemper
|
43b406bdb0
|
Ruby 1.9 compat: fix route recognition encoding test
|
2009-08-07 17:16:34 -07:00 |
|
José Valim
|
aed135d3e2
|
Renamed presenter to renderer, added some documentation and defined its API.
|
2009-08-07 17:17:51 +02:00 |
|
José Valim
|
1fd65c80fc
|
Encapsulate respond_with behavior in a presenter.
|
2009-08-07 17:16:16 +02:00 |
|
José Valim
|
7034272354
|
Add destroyed? to ActiveRecord, include tests for polymorphic urls for destroyed objects and refactor mime responds tests and documentation.
|
2009-08-07 17:16:16 +02:00 |
|
José Valim
|
f59984cc81
|
Add nagivational behavior to respond_with.
|
2009-08-07 17:16:15 +02:00 |
|
José Valim
|
dac8927b05
|
Merge branch 'master' of git://github.com/rails/rails into old
|
2009-08-07 16:10:17 +02:00 |
|
Yehuda Katz
|
0612fd0f09
|
Replace _render_template_with_layout with _render_template since the layout is optional
|
2009-08-07 03:18:45 -03:00 |
|
Yehuda Katz
|
70a440aa27
|
Clean up render @object a bit more.
|
2009-08-07 00:52:13 -03:00 |
|
Yehuda Katz
|
503ce1d01c
|
Update cache_control to be a Hash of options that is used to build the header.
* Significantly simplifies setting and modifying cache control in other areas
|
2009-08-02 19:39:33 -04:00 |
|
Jeremy Kemper
|
f2a35723c8
|
Ruby 1.9: fix encoding for test_file_stream
|
2009-08-01 20:26:05 -07:00 |
|
Sava Chankov
|
ec94c2550d
|
Ruby 1.9: fix Content-Length for multibyte send_data streaming
[#2661 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2009-08-01 20:25:59 -07:00 |
|
José Valim
|
b2d24baf79
|
Added tests for nested resources.
|
2009-07-31 20:56:53 +02:00 |
|
José Valim
|
5b7e81efec
|
Allow respond_with to deal with http verb accordingly.
|
2009-07-31 11:59:05 +02:00 |
|
José Valim
|
d209aea7d8
|
Remove last TODO.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:04 -07:00 |
|
José Valim
|
fa0cf663fe
|
Add a couple more tests to respond_with.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
09de34ca56
|
Added respond_with.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
bbe86077c2
|
Added tests for respond_to class method.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:03 -07:00 |
|
José Valim
|
3e8ba616ef
|
Refactor even more Responder. Move mime negotiation to request and added respond_to class method.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:02 -07:00 |
|
José Valim
|
3f445b316d
|
Refactor Responder to only calculate available mime types. Those are sent to the controller that knows what to do with it (render a block or call default render).
Signed-off-by: Yehuda Katz <wycats@gmail.com>
|
2009-07-29 12:06:02 -07:00 |
|
Joshua Peek
|
92c00d7586
|
AMo conversion helper
|
2009-07-21 00:51:57 -05:00 |
|
Yehuda Katz
|
5ffaaa71d1
|
Define ActiveModel API Compliance
- Define to_model on AR
- Define to_model on ActiveModel::APICompliant
- Update test fixtures to be API Compliant
- Start using to_model in AP
|
2009-07-20 00:27:04 +09:00 |
|
Jesús García Sáez
|
fc6077d76e
|
Allow symbols on routes declaration (:controller and :action values) [#2828 state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
|
2009-07-02 12:18:48 -07:00 |
|
Yehuda Katz + Carl Lerche
|
0515256fd3
|
Accept Symbol for contoller name [#2855 state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
|
2009-07-01 11:16:18 -07:00 |
|
Vicente Mundim
|
68b02cb00a
|
Make filter_parameters work correctly with array parameters.
|
2009-06-27 12:43:57 +12:00 |
|
Joshua Peek
|
7837da41a3
|
send_data should set Content-Length as a string
|
2009-06-25 14:47:15 -05:00 |
|
Joshua Peek
|
7aa730440c
|
Remove deprecated implicit ivar assignment
|
2009-06-25 12:51:21 -05:00 |
|
Yehuda Katz + Carl Lerche
|
65102c8f1a
|
Cleaning up more tests and code that needed to work in both old and new base
|
2009-06-17 16:51:51 -07:00 |
|
Yehuda Katz + Carl Lerche
|
6927f1119b
|
Finish making pending tests pass
|
2009-06-17 12:54:19 -07:00 |
|
Yehuda Katz + Carl Lerche
|
487312515c
|
RJS doesn't render with an HTML layout by default
|
2009-06-17 12:54:19 -07:00 |
|
Yehuda Katz + Carl Lerche
|
4fad953f90
|
Fixing pending tests and fixed some formats / partial rendering semantics
|
2009-06-17 12:54:19 -07:00 |
|
Yehuda Katz + Carl Lerche
|
de388ba864
|
Fix pending test about content-type
|
2009-06-17 12:54:18 -07:00 |
|
Joshua Peek
|
1c4d28ba31
|
Move model naming into ActiveModel
|
2009-06-17 10:37:39 -05:00 |
|
Yehuda Katz + Carl Lerche
|
dd58f4021d
|
An exception is raised if a layout is missing only if the layout is missing for all mimes
|
2009-06-16 13:44:51 -07:00 |
|
Yehuda Katz + Carl Lerche
|
1fbfa3e705
|
More _write_layout_method removal
|
2009-06-15 17:33:25 -07:00 |
|
Yehuda Katz + Carl Lerche
|
5a8a550a45
|
Finish making things pass with updated internal content_type semantics
|
2009-06-15 11:21:08 -07:00 |
|
Yehuda Katz + Carl Lerche
|
47ff57f6d1
|
Document and clean up HideActions and Http
|
2009-06-10 15:27:53 -07:00 |
|
Yehuda Katz + Carl Lerche
|
acb2447785
|
Write documentation for AbstractController::Helpers
|
2009-06-09 16:47:39 -07:00 |
|
nate
|
f68cc639f5
|
A test to show that http_authentication needs to fail authentication if the password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2009-06-09 19:47:53 +12:00 |
|
Yehuda Katz + Carl Lerche
|
86fc43fd58
|
ActionPack components should no longer have undeclared dependencies.
* Tests can be run in isolation
* Dependencies added
* A few tests modified to avoid depending on AS deps
not depended on my files they were testing
|
2009-06-08 13:34:07 -07:00 |
|
Yehuda Katz
|
d6e4113c83
|
YAGNI Method references. Deprecated
|
2009-06-02 22:06:21 -07:00 |
|
Yehuda Katz + Carl Lerche
|
196f780e30
|
Get all the callback tests to work on new base
|
2009-06-01 15:40:40 -07:00 |
|
Jeremy Kemper
|
f9bd10054c
|
Sidestep need for Kernel#silence_warnings
|
2009-05-30 11:59:17 -07:00 |
|
Pratik Naik
|
e767c65cc9
|
Make sure tests pass action name to Controller.action()
|
2009-05-30 15:18:46 +01:00 |
|
Johan Sörensen
|
72cb6f58be
|
The FlashHash and friends causes a lot of needless session storing, when we know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2009-05-28 09:30:49 -05:00 |
|
Olly Legg
|
0349278f3d
|
Memoize cookies so that updates to cookies are available in the current request. [#2733 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2009-05-28 09:18:27 -05:00 |
|
Yehuda Katz + Carl Lerche
|
bd7e3dc47d
|
Added a compatibility layer to get legacy filter tests to pass on new base
|
2009-05-27 16:49:04 -07:00 |
|