Xavier Noria
|
af1b48926f
|
Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
|
2011-04-23 01:11:24 +02:00 |
|
Schneems
|
a8870d140e
|
show http method in routing error message
|
2011-04-23 03:40:09 +08:00 |
|
David Heinemeier Hansson
|
89f315bfb2
|
We cant use assert_block because its buggy in MiniTest and wont actually show you the failure message you provide -- instead you just always get a "Expected block to return true"
|
2011-04-22 19:38:01 +02:00 |
|
Joshua Peek
|
dab96a267e
|
Add shorthand for js and css compressors
|
2011-04-22 10:49:55 -05:00 |
|
Semyon Perepelitsa
|
6822f39f67
|
Remove HTML escaping from Record Tag Helper docs.
|
2011-04-22 23:12:14 +08:00 |
|
Joshua Peek
|
84f1b83df8
|
Only include SprocketsHelper into assets context
|
2011-04-21 11:03:56 -05:00 |
|
Joost Baaij
|
783007a8ad
|
Replace example hostname with "example.com".
The hostname used in these comments actually exists, which is
undesirable. See also RFC 2606.
|
2011-04-21 16:32:02 +02:00 |
|
José Valim
|
d31af44012
|
Fix tests on 1.8 by explicitly checking for strings (which also improves performance).
|
2011-04-20 21:54:19 +02:00 |
|
José Valim
|
2f549b8bbd
|
Use initialize_copy! to proper initialize now on clone.
|
2011-04-19 22:38:51 +02:00 |
|
Florent Piteau
|
89ed9fbd19
|
Don't reuse a closed flash when using now
|
2011-04-20 04:32:26 +08:00 |
|
José Valim
|
22fcef90b1
|
Actually add an abstract class, so it is easier to get rid of old asset paths in the future.
|
2011-04-19 22:02:02 +02:00 |
|
Xavier Noria
|
e162e912c9
|
Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
railties/guides/source/ajax_on_rails.textile
railties/guides/source/generators.textile
|
2011-04-19 21:54:10 +02:00 |
|
José Valim
|
a19c260038
|
Include modules to the context in the railtie.
|
2011-04-19 21:49:28 +02:00 |
|
José Valim
|
914218ef30
|
Let's use inheritance here, shall we?
|
2011-04-19 21:32:58 +02:00 |
|
David Heinemeier Hansson
|
626bcc9bf4
|
Switch to asset_path and make it available in the Sprockets::Context (now you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
|
2011-04-19 19:05:07 +02:00 |
|
David Heinemeier Hansson
|
d35c91225e
|
Cleanup compute_sprockets_path -- when you are reaching for code comments, the method could be simpler
|
2011-04-19 18:30:44 +02:00 |
|
David Heinemeier Hansson
|
a3a5c7eba3
|
All assets, including images, audio, and video, now uses the asset pipeline when its on
|
2011-04-19 18:07:42 +02:00 |
|
José Valim
|
069e9b004f
|
Do not stream on HTTP/1.0.
|
2011-04-19 15:04:28 +02:00 |
|
José Valim
|
b398520c14
|
Output a redirect to the 500 page if something happens when streaming.
Currently, we output:
"><script type="text/javascript">window.location = "/500.html"</script></html>
|
2011-04-19 12:26:11 +02:00 |
|
José Valim
|
a66c917235
|
Do not inherit from Rack::Response, remove a shit-ton of unused code.
|
2011-04-19 11:54:12 +02:00 |
|
José Valim
|
6380f1a9f4
|
Be sure to not store the closed flash in the session.
|
2011-04-19 10:34:17 +02:00 |
|
José Valim
|
3b0f917b1d
|
Test explicit skip.
|
2011-04-18 14:27:49 +02:00 |
|
José Valim
|
07fde1a3d3
|
Just define the controller if fibers are defined.
|
2011-04-18 14:27:49 +02:00 |
|
José Valim
|
389d15ef13
|
Body... wanna *stream* my body? Body... such a thrill my body!
Added stream as class level method to make it explicit when to stream.
Render also accepts :stream as option.
|
2011-04-18 08:55:41 +02:00 |
|
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 |
|
Matt Duncan
|
50b2eb8cbd
|
Fixing another example result
|
2011-04-15 22:09:23 -04:00 |
|
Matt Duncan
|
1229904602
|
Removing incorrect example results
|
2011-04-15 21:56:01 -04:00 |
|
Matt Duncan
|
b6bfcc9115
|
Fix syntax error in example
|
2011-04-15 21:50:29 -04:00 |
|
Matt Duncan
|
f274394afb
|
Fixing more spacing inconsistencies
|
2011-04-15 21:34:49 -04:00 |
|
Matt Duncan
|
e8afe4e1ea
|
Making spacing consistent
|
2011-04-15 20:30:51 -04:00 |
|
Matt Duncan
|
004042c0d9
|
Fixing missing colon on symbol in example
|
2011-04-15 20:27:05 -04:00 |
|
Matt Duncan
|
7f98b544e3
|
Negative format example should use a negative number
|
2011-04-15 20:18:30 -04:00 |
|
José Valim
|
2dd43c3f80
|
Buffer should be an option passed down to template rendering.
|
2011-04-16 02:10:36 +02:00 |
|
Matt Duncan
|
6ddd4a3d95
|
Days are never approximated using 'about'
|
2011-04-15 20:08:11 -04:00 |
|
Matt Duncan
|
8ac365f476
|
Making example result match actual result
|
2011-04-15 20:03:52 -04:00 |
|