José Valim
324f1451b0
Dump and load rack-cache stuff.
2011-05-17 17:33:17 -04:00
Jeremy Kemper
b77e032ccf
Merge pull request #247 from goncalossilva/performance_test
...
Performance tests improved
2011-05-17 14:28:40 -07:00
Xavier Noria
d491130236
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
actionpack/lib/action_view/helpers/date_helper.rb
railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
2011-05-14 11:21:27 +02:00
Xavier Noria
e5524d538c
minor edits after going through what's new in docrails
2011-05-14 11:15:43 +02:00
Jason Dew
6b07d7f9da
typo
2011-05-13 17:15:29 -07:00
Sebastian Martinez
ab880b9eb0
Follow code conventions on docs
2011-05-10 20:55:31 -03:00
José Valim
3aa8f348ef
Fix previous commit by allowing a proc to be given as response_body. This is deprecated and is going to be removed in future releases.
2011-05-10 16:53:57 +02:00
James Miller
bb1af05247
Missing an end in routing docs
2011-05-09 18:46:07 -07:00
Sebastian Martinez
ed8962c821
more fixed-fonts here
2011-05-09 22:21:00 -03:00
Sebastian Martinez
56a7db6ea8
added some fixed fonts
2011-05-09 22:06:04 -03:00
José Valim
80bf68aa1b
prepend the assets route instead of appending, closes #436
2011-05-08 12:59:04 +02:00
Gonçalo Silva
aec7456f81
Merge branch 'master' of https://github.com/rails/rails into performance_test
...
Conflicts:
activesupport/lib/active_support/testing/performance.rb
2011-05-08 03:54:55 +01:00
José Valim
0e5adbceb7
Don't pluralize, camelize.
2011-05-06 17:00:59 +02:00
Jacob Poulsgaard Tjoernholm
9f9446f271
Update the description of the :path option to #resources to reflect that it sets the actual path, not a prefix. Most instances were already fixed.
2011-05-06 10:26:17 +02:00
David Heinemeier Hansson
5b8801442e
Only show dump of regular env methods on exception screen (not all the rack crap) [DHH]
2011-05-04 19:56:56 -05:00
Josh Kalderimis
8e69f1eb20
minor correction to the ActionDispatch::Http::URL subdomain docs
2011-05-04 21:53:10 +02:00
José Valim
871096d854
Merge pull request #387 from smartinez87/remove_method.
...
Use #remove_possible_method instead
2011-05-04 11:14:57 -07:00
Sebastian Martinez
9be7911e87
Use #remove_possible_method instead here
2011-05-04 15:13:40 -03:00
José Valim
afc3ccf74c
Fix renew feature on cookies.
2011-05-04 20:12:27 +02:00
José Valim
6b79463ed8
Fix .subdomain regression.
2011-05-04 20:05:35 +02:00
Aaron Patterson
af8c54be0a
cache strings in the AST for faster comparison than include?
2011-05-03 09:59:21 -07:00
José Valim
f82767e276
Merge pull request #377 from joshk/rails_legacy_mapper_message.
...
raise an error if the old router draw method is used
2011-05-03 07:21:35 -07:00
Josh Kalderimis
275529446e
raise an error if the old router draw method is used, along with a message advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile
2011-05-03 16:07:25 +02:00
Matias Korhonen
49b825e502
Sets the HTTP charset parameter for rescue response.
2011-05-03 16:30:59 +03:00
Matias Korhonen
c7f7a45676
Rescues template HTML5 doctype and the utf8 charset meta tag, and better font choices for Mac users.
2011-05-03 16:30:04 +03:00
José Valim
e1c1685016
Static middleware accepts cache control.
2011-05-03 12:32:14 +02:00
David Heinemeier Hansson
b359f9fe7c
Merge branch 'master' of github.com:rails/rails
2011-05-02 19:21:03 -05:00
José Valim
35d0d82ae3
More performance optimizations.
2011-05-03 01:37:01 +02:00
José Valim
a55f2de0c5
Improve performance for filtered parameters and add tests.
2011-05-03 01:04:57 +02:00
David Heinemeier Hansson
b29a905f94
Flunk makes a lot more sense, doesnt it (hat tip @tenderlove)
2011-05-02 17:04:21 -05:00
José Valim
83e35b9c08
Allow ignore_accept_header through configuration option.
2011-05-02 23:39:42 +02:00
José Valim
73c94ed97a
Add ignore_accept_header config to AD::Request.
2011-05-02 23:38:57 +02:00
Piotr Sarnacki
820c0feda3
Explicitly define main_app proxy
2011-04-25 14:56:58 +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
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
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
Gonçalo Silva
1c2b2233c3
Merge branch 'master' of https://github.com/rails/rails into performance_test
2011-04-17 17:08:49 +01: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
Aaron Patterson
199c0bb338
generated session ids should be encoded as UTF-8
2011-04-14 13:37:40 -07: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
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
b878757c50
removes assert_select_rjs
2011-04-13 13:23:16 +02:00
David Heinemeier Hansson
d1575ae1b9
Change Object#either? to Object#among? -- thanks to @jamesarosen for the suggestion!
2011-04-12 00:23:07 +02:00
Prem Sichanugrist
a9f3c9da01
Using Object#in? and Object#either? in various places
...
There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
2011-04-11 03:17:09 +08:00
Aaron Patterson
a7c5d40d80
Merge branch 'master' of github.com:rails/rails
...
* 'master' of github.com:rails/rails:
Cache flash now
Revert "Use freeze instead of close!"
Revert "Eagerly load Signed and Permanent cookies"
cookies here
Eagerly load Signed and Permanent cookies
Use freeze instead of close!
2011-04-07 09:35:24 -07:00
Santiago Pastorino
0e624ce9eb
Cache flash now
2011-04-07 09:27:00 -03:00