- 23 8月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 22 8月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 03 7月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 02 7月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 28 6月, 2010 3 次提交
-
-
由 José Valim 提交于
Deprecate the old router DSL. Since it is still used intensively across ActionPack test suite, patches that translates Rails internal tests to the new router DSL are welcome (note though that a few tests shouldn't be translated since they are testing exactly the old mapper API, like the ones in actionpack/test/controller/resource_test.rb and actionpack/test/controller/routing_test.rb)
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Michael Lovitt 提交于
Fixed that an ArgumentError is thrown when request.session_options[:id] is read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. [#4938] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 09 6月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
[#3914 state:open] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 18 5月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 17 5月, 2010 3 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commits af0d1a88 and 64d109e3.
-
由 wycats 提交于
* Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable
- 03 5月, 2010 1 次提交
-
-
由 David Chelimsky 提交于
[#4522 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 25 4月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 05 4月, 2010 1 次提交
-
-
由 José Valim 提交于
Rename config.cookie_secret to config.secret_token and pass it as configuration in request.env. This is another step forward removing global configuration.
-
- 03 4月, 2010 1 次提交
-
-
由 wycats 提交于
Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
-
- 31 3月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-
- 20 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 18 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 07 3月, 2010 1 次提交
-
-
由 wycats 提交于
add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
-
- 05 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
Deprecated ActionController::Base.session_options= and ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
-
- 04 3月, 2010 2 次提交
-
-
由 Carl Lerche 提交于
-
由 Carlhuda 提交于
-
- 03 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 01 3月, 2010 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 27 2月, 2010 6 次提交
-
-
由 Carlhuda 提交于
If IntegrationSession is initialized with an objects that responds to #routes, automatically extend the URL helpers from the RouteSet onto it
-
由 Carlhuda 提交于
Upon further reflection, we realized that SharedTestRoutes is not really a hack, but is instead a standin (in the Rails tests) for Rails.application.routes. * In a real application, action_controller/railties.rb does AC::Base.include(app.routes.url_helpers) * ActionController itself does not know about Rails.application, but instead can have named routes for any router * SharedTestRoutes are created in abstract_unit to stand in for Rails.application.routes, and is used in internal functional tests
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
Remove traces of SharedTestRoutes from user code; leave it as a standin for Rails.application.routes in Rails internal tests
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
- 26 2月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 24 2月, 2010 1 次提交
-
- 22 2月, 2010 1 次提交
-
-
由 Martin Schürrer 提交于
-
- 16 2月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-
- 01 2月, 2010 1 次提交
-
-
由 Carl Lerche 提交于
-
- 17 1月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-