Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ruby 1.9: use UTF-8 for default internal and external encodings. | Jeremy Kemper | 2009-05-28 | 2 | -3/+9 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 52 | -89/+98 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Revert "Revert "Whitespace!"" | Joshua Peek | 2009-05-28 | 23 | -264/+270 |
| | | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941. | ||||
* | Only save the session if we're actually writing to it [#2703 state:resolved] | Johan Sörensen | 2009-05-28 | 3 | -1/+40 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | The FlashHash and friends causes a lot of needless session storing, when we ↵ | Johan Sörensen | 2009-05-28 | 2 | -34/+43 |
| | | | | | | 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> | ||||
* | Memoize cookies so that updates to cookies are available in the current ↵ | Olly Legg | 2009-05-28 | 2 | -1/+7 |
| | | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix script/server's default mount path [#2731 state:resolved] | Joshua Peek | 2009-05-28 | 1 | -1/+1 |
| | |||||
* | Fix failing ActionCacheFilter tests due to around filter changes. | Yehuda Katz + Carl Lerche | 2009-05-27 | 2 | -3/+3 |
| | |||||
* | Added support to new callbacks for around filter object that respond to ↵ | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -1/+5 |
| | | | | :before & :after used in before|after callbacks | ||||
* | Added support to new callbacks for around filter object that respond to ↵ | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -0/+5 |
| | | | | :before & :after | ||||
* | Added a compatibility layer to get legacy filter tests to pass on new base | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -5/+27 |
| | |||||
* | Added hook point in new base #send_action which does the actual action ↵ | Yehuda Katz + Carl Lerche | 2009-05-27 | 2 | -2/+4 |
| | | | | method dispatching | ||||
* | Add the ability to prepend filters to new callbacks | Carl Lerche | 2009-05-27 | 2 | -1/+12 |
| | |||||
* | Make the default 500 Internal Server Error page more friendly. Many people ↵ | Hongli Lai (Phusion) | 2009-05-27 | 1 | -1/+4 |
| | | | | | | don't know they're supposed to look in the log files. [#2716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | ensure initialize_database_middleware doesn't use ActionController if ↵ | calavera | 2009-05-27 | 2 | -6/+23 |
| | | | | | | action_controller framework is not enabled [#2680 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ensure Memcache local cache returns duplicated values [#2302 state:resolved] | Joshua Peek | 2009-05-27 | 2 | -1/+10 |
| | |||||
* | Add % to RESERVED_PCHAR [#2574 state:resolved] | Eduard Bondarenko | 2009-05-27 | 2 | -1/+6 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | ActionController::Flash::FlashHash.use now returns either the value ↵ | Niels Ganser | 2009-05-27 | 2 | -6/+20 |
| | | | | | | corresponding to the passed key or itself when no key is passed [#1792 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | server command help inconsistency fix [#2685 state:resolved] | anupom syam | 2009-05-27 | 1 | -5/+5 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix failing CI test (broken in 2daac47 or e693f45): make ↵ | Chad Woolley | 2009-05-27 | 2 | -5/+6 |
| | | | | | | test_multipart_with_template_path_with_dots only test path with dots, and stop failing on unrelated mimetype assertion. The image/jpeg multipart content type is already tested in test_explicitly_multipart_messages. Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> | ||||
* | Add an model_subclass generator. | Fabien Jakimowicz | 2009-05-27 | 5 | -0/+71 |
| | | | | | | | | This generator creates a new model as a subclass of an existing model and the unit test for that model. Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments. [#2702 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Merge branch 'master' of git@github.com:rails/rails | Yehuda Katz | 2009-05-27 | 1 | -0/+0 |
|\ | |||||
| * | Rename tools/profile_requires -> tools/profile since we do both require and ↵ | Jeremy Kemper | 2009-05-27 | 1 | -0/+0 |
| | | | | | | | | ruby-prof profiling. | ||||
* | | Reduce the cost of using ActionController::Http significantly by: | Yehuda Katz | 2009-05-27 | 11 | -28/+88 |
|/ | | | | | | | | | | * Removing the dependency on AD::Request and AD::Response * Moving the logic for the request and response object into a new module that is included by default. * Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic. | ||||
* | add a metal to minimal examples for comparison | Jeremy Kemper | 2009-05-27 | 1 | -6/+11 |
| | |||||
* | Get all template tests passing on new base | Carl Lerche | 2009-05-26 | 3 | -4/+6 |
| | |||||
* | Got all the dispatch tests running on new base | Carl Lerche | 2009-05-26 | 4 | -11/+15 |
| | |||||
* | Add controller/integration_test.rb to the new base test runner | Carl Lerche | 2009-05-26 | 1 | -2/+1 |
| | |||||
* | Get controller/test_test.rb to pass on new base | Carl Lerche | 2009-05-26 | 2 | -3/+3 |
| | |||||
* | Add html-scanner to the new base set of autoloads | Carl Lerche | 2009-05-26 | 1 | -0/+2 |
| | |||||
* | Get controller/view_paths_test.rb to pass on new base | Carl Lerche | 2009-05-26 | 3 | -2/+19 |
| | |||||
* | In new base Rails2Compatibility, move @template assignment to right before ↵ | Carl Lerche | 2009-05-26 | 1 | -6/+6 |
| | | | | the first action is processed. | ||||
* | Remove a no-op from view path tests and removed a Symbol#to_proc | Carl Lerche | 2009-05-26 | 1 | -2/+2 |
| | |||||
* | Support Method callbacks | Pratik Naik | 2009-05-26 | 1 | -0/+8 |
| | |||||
* | Make Filter#filter work with around filters | Pratik Naik | 2009-05-25 | 5 | -76/+93 |
| | |||||
* | Make cookie store tests pass with the new base | Pratik Naik | 2009-05-25 | 1 | -0/+3 |
| | |||||
* | Don't want Rack's Content-Type default header though | Jeremy Kemper | 2009-05-24 | 1 | -2/+3 |
| | |||||
* | Construct a single HeaderHash. Speed up assign_default_content_type_and_charset | Jeremy Kemper | 2009-05-24 | 1 | -4/+10 |
| | |||||
* | Compare Base with Http | Jeremy Kemper | 2009-05-24 | 1 | -13/+24 |
| | |||||
* | Speed up Request#formats | Jeremy Kemper | 2009-05-23 | 1 | -6/+14 |
| | |||||
* | runner class | Jeremy Kemper | 2009-05-23 | 1 | -16/+24 |
| | |||||
* | test depends on html-scanner | Jeremy Kemper | 2009-05-23 | 1 | -0/+1 |
| | |||||
* | Make a couple more tests pass. | Yehuda Katz | 2009-05-23 | 1 | -0/+11 |
| | | | | | | | A large number of the remaining failing tests have to do with the semantics of filters that are Objects. The right solution is probably to just implement the filter/before/after semantics in NewCallbacks directly (the current semantics are based on the old AS::Callbacks specs) | ||||
* | Slightly modify things to get content type matching working without breaking ↵ | Yehuda Katz | 2009-05-23 | 6 | -14/+52 |
| | | | | other code | ||||
* | Remove unnecessary asset_host initialization | Pratik Naik | 2009-05-23 | 2 | -2/+0 |
| | |||||
* | Add asset_host to Rails2Compatibility | Pratik Naik | 2009-05-23 | 1 | -0/+6 |
| | |||||
* | Modify render_test's determine_layout to match RJS | Yehuda Katz + Carl Lerche | 2009-05-22 | 1 | -3/+1 |
| | |||||
* | Restore some missing test constants | Jeremy Kemper | 2009-05-22 | 1 | -0/+8 |
| | |||||
* | Move html-scanner tests one dir up | Pratik Naik | 2009-05-23 | 8 | -1/+1 |
| | |||||
* | Created an ActionController::Renderers::All that includes all the default ↵ | Yehuda Katz + Carl Lerche | 2009-05-22 | 2 | -4/+12 |
| | | | | render options (:json, :js, :rjs, :xml) |