José Valim
7a152ab012
Rename it to DataStreaming.
2011-04-18 08:17:47 +02:00
José Valim
944b4d5796
Add missing dependency.
2011-04-18 08:13:28 +02:00
José Valim
4f044528c0
Slightly reorganize rendering stack.
2011-04-18 08:12:51 +02:00
Aaron Patterson
3dc4d543f1
make our constructor signature match the superclass
2011-04-17 11:49:25 -07:00
José Valim
b6843f22ac
Lazily load sprockets.
2011-04-17 11:50:19 +02:00
José Valim
3a68aec1a1
Make generators more modular, add hooks and improve test suite.
2011-04-17 11:44:52 +02:00
José Valim
8f75c3abcd
Move app initializers to sprockets railtie.
2011-04-17 10:51:07 +02:00
José Valim
16b9547a88
Move controller configs to sprockets own railtie.
2011-04-17 10:26:32 +02:00
José Valim
0114dc38d5
Fix CI test on 1.8
2011-04-16 12:25:21 +02:00
José Valim
2bf0d9b06a
Class docs.
2011-04-16 12:13:29 +02:00
José Valim
eec5d5db5d
Docs.
2011-04-16 11:42:02 +02:00
José Valim
ab105e6072
content_for should work with provide.
2011-04-16 11:34:07 +02:00
José Valim
3e0aedba90
Add more tests, ensure we never yield outside the fiber context and that we swap buffers when moving from parent to child.
2011-04-16 11:22:36 +02:00
José Valim
29078ff8f1
Basic tests for streaming. Basic tests for provide.
2011-04-16 10:50:33 +02:00
José Valim
62668cccb9
The magic medicine worked.
2011-04-16 10:31:55 +02:00
José Valim
e30ca001ef
Yo dawg, I heard you like streaming. So I put a fiber, inside a block, inside a body, so you can stream.
2011-04-16 10:28:47 +02:00
José Valim
2dd43c3f80
Buffer should be an option passed down to template rendering.
2011-04-16 02:10:36 +02:00
José Valim
fad214b9e1
Initial work on fibered layout.
2011-04-16 01:10:13 +02:00
Aaron Patterson
c630750fa5
switch to using comments to comment things
2011-04-15 14:13:46 -07:00
José Valim
d6bd606bdd
render :once, YAGNI.
2011-04-15 21:11:54 +02:00
José Valim
d5ad92ced1
Make static faster as we don't have to serve multiple paths anymore.
2011-04-15 20:09:39 +02:00
José Valim
afc828828f
Remove the ability for engines to serve assets from the public directory.
2011-04-15 19:57:52 +02:00
José Valim
dd90f3923c
attribute should be attributes
2011-04-14 23:40:56 -07:00
José Valim
c8c012caa8
Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub
2011-04-14 23:37:35 -07:00
Aaron Patterson
199c0bb338
generated session ids should be encoded as UTF-8
2011-04-14 13:37:40 -07:00
Eric Hayes
ada550d908
Fixed a comment typo
2011-04-14 16:29:06 +08:00
David Chelimsky
a26d407f63
ActionView::PathSet# accepts String or Array
...
- Closes #6692
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-04-13 21:45:51 +02:00
Prem Sichanugrist
0f8a6ebba3
Fix missing requires in Action Mailer
...
This made the isolated test failed on CI server.
Signed-off-by: Xavier Noria <fxn@hashref.com>
2011-04-13 19:52:19 +02:00
Prem Sichanugrist
733bfa63f5
Remove #among?
from Active Support
...
After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now.
It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
2011-04-13 20:25:28 +08:00
Xavier Noria
1f869114f5
updates AP CHANGELOG
2011-04-13 13:41:26 +02:00
Xavier Noria
acdbc6ae41
renames response_from_page_or_rjs -> response_from_page, and extracts the RJS in it
2011-04-13 13:24:33 +02:00
Xavier Noria
86d6cdd7f7
fixes the name of a test
2011-04-13 13:24:33 +02:00
Xavier Noria
d76fbff8b4
removes reference to RJS from AC::RecordIdentifier docs
2011-04-13 13:24:32 +02:00
Xavier Noria
404ae77c40
removes a remaining reference to .rjs in template resolver's RDoc
2011-04-13 13:24:32 +02:00
Xavier Noria
16bccca361
removed references to RJS from the AP README
2011-04-13 13:24:32 +02:00
Xavier Noria
e06771f9d4
removes RJS documentation from AV::Base
2011-04-13 13:24:32 +02:00
Xavier Noria
d8f23ca627
removes debug_rjs from ActionView::Base
2011-04-13 13:24:32 +02:00
Xavier Noria
7c9d91f53e
removes render :update from views
2011-04-13 13:24:32 +02:00
Xavier Noria
90de26703e
removes ActionView::Helpers::PrototypeHelper
2011-04-13 13:24:32 +02:00
Xavier Noria
06bdaae071
removes ActionView::Helpers::ScriptaculousHelper
2011-04-13 13:24:31 +02:00
Xavier Noria
5850f16935
removes the RJS template handler
2011-04-13 13:23:18 +02:00
Xavier Noria
eea66892c8
removes support for render :update
2011-04-13 13:23:17 +02:00
Xavier Noria
25181cafee
let the default function in button_to_function be nil
...
I don't know which is the use case for button_to_function(name)
but there's a test for it. I am focused now on RJS extraction
and do not want to introduce a backwards incompatible change
at this moment. Perhaps worth revisiting when the whole thing
is done.
2011-04-13 13:23:16 +02:00
Xavier Noria
f9472f064f
applies API guidelines to example
2011-04-13 13:23:16 +02:00
Xavier Noria
3223e04a21
removes support for RJS in button_to_function
2011-04-13 13:23:16 +02:00
Xavier Noria
b878757c50
removes assert_select_rjs
2011-04-13 13:23:16 +02:00
Xavier Noria
8449da929e
removes support for RJS in link_to_function
2011-04-13 13:23:16 +02:00
Xavier Noria
096fa1b60f
jQuery is the new default
2011-04-13 13:23:16 +02:00
Matt Duncan
805126b20a
Aligning comments
2011-04-13 16:14:53 +08:00
Matt Duncan
93def19063
Fixing distance_of_time_in_words range near 2 days
2011-04-13 16:14:52 +08:00