Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | allow to pass numerical value to size option in image_tag | Nihad Abbasov | 2012-09-25 | 1 | -1/+1 | |
| | | | | | | | | | | This will set image's both width and height attributes to value passed in size option. | |||||
* | | Merge pull request #7749 from blowmage/minitest | Aaron Patterson | 2012-09-25 | 6 | -1/+382 | |
|\ \ | | | | | | | Improve support for minitest's spec DSL | |||||
| * | | Register AD::IntegrationTest for minitest's spec DSL | Mike Moore | 2012-09-24 | 1 | -0/+41 | |
| | | | ||||||
| * | | Support helper tests using spec DSL | Mike Moore | 2012-09-24 | 2 | -1/+57 | |
| | | | | | | | | | | | | | | | Improve how helper tests to resolve the helper class from the test name. Add tests for helper tests using the minitest spec DSL. | |||||
| * | | Register helper and view tests for minitest's spec DSL | Mike Moore | 2012-09-24 | 1 | -0/+39 | |
| | | | ||||||
| * | | Allow strings in the controller test describe blocks | Mike Moore | 2012-09-24 | 2 | -0/+129 | |
| | | | | | | | | | | | | | | | Allow controller tests using the spec DSL to match strings. Add test coverage for the register_spec_type calls. | |||||
| * | | Support controller tests using spec DSL - fixes #7743 | Mike Moore | 2012-09-24 | 1 | -0/+116 | |
| | | | | | | | | | | | | Add tests for controller tests using the minitest spec DSL. | |||||
* | | | depreacte unused Mime::Type#verify_request? and ↵ | grosser | 2012-09-24 | 2 | -7/+13 | |
|/ / | | | | | | | Mime::Type.browser_generated_types | |||||
* | | fixes the suite for uploaded files | Xavier Noria | 2012-09-23 | 1 | -6/+6 | |
| | | ||||||
* | | Accept parameters in methods delegated to tempfile | Sergio Gil Pérez de la Manga | 2012-09-22 | 1 | -0/+6 | |
| | | ||||||
* | | Delegate ActionDispatch::Http::UploadedFile#close to tempfile | Sergio Gil Pérez de la Manga | 2012-09-20 | 1 | -0/+6 | |
| | | ||||||
* | | Removing to_shorthand from default_controller_and_action. Fixes #6497 | Luiz Felipe | 2012-09-19 | 1 | -0/+7 | |
| | | | | | | | | | | When using shortcut routes inside an engine the "to_shorthand" variable is set to true, causing the module scope of the route to not be applied. | |||||
* | | Correct parameter access. | Philip Arndt | 2012-09-19 | 1 | -1/+1 | |
| | | | | | | * The params as supplied pass born in authors[0] but not authors[1] so it seems like the test isn't covering what it should be covering. | |||||
* | | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 7 | -41/+251 | |
|\ \ | | | | | | | Integrate strong_parameters in Rails 4 | |||||
| * | | Support fields_for attributes, which may have numeric symbols as hash keys | Guillermo Iguaran | 2012-09-16 | 1 | -0/+18 | |
| | | | ||||||
| * | | Add config.action_controller.permit_all_attributes to bypass ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -0/+14 | |
| | | | | | | | | | | | | StrongParameters protection | |||||
| * | | Change tainted/untainted wording to permitted/forbidden | Guillermo Iguaran | 2012-09-16 | 3 | -26/+26 | |
| | | | ||||||
| * | | Don't use assert_nothing_raised when assert_equal is used | Guillermo Iguaran | 2012-09-16 | 1 | -4/+2 | |
| | | | ||||||
| * | | require abstract_unit in parameters tests | Guillermo Iguaran | 2012-09-16 | 3 | -0/+3 | |
| | | | ||||||
| * | | Remove integration between attr_accessible/protected and ↵ | Guillermo Iguaran | 2012-09-16 | 2 | -41/+0 | |
| | | | | | | | | | | | | AC::Metal::ParamsWrapper | |||||
| * | | Integrate ActionController::Parameters from StrongParameters gem | Guillermo Iguaran | 2012-09-16 | 5 | -0/+218 | |
| | | | ||||||
* | | | log 404 status when ActiveRecord::RecordNotFound was raised (#7646) | Yves Senn | 2012-09-17 | 1 | -0/+15 | |
| | | | ||||||
* | | | Merge pull request #7669 from guilleiguaran/rename-rb-handler | Carlos Antonio da Silva | 2012-09-17 | 2 | -3/+3 | |
|\ \ \ | | | | | | | | | Rename .rb template handler to .ruby to avoid conflicts with mustache classes | |||||
| * | | | Rename .rb template handler to .ruby to avoid conflicts with mustache views ↵ | Guillermo Iguaran | 2012-09-17 | 2 | -3/+3 | |
| |/ / | | | | | | | | | | classes | |||||
* / / | allowing pass couple extension to register_template_handler call | Tima Maslyuchenko | 2012-09-17 | 1 | -0/+9 | |
|/ / | ||||||
* | | Support for multiple etags in an If-None-Match header | Travis Warlick | 2012-09-15 | 1 | -0/+39 | |
| | | | | | | | | | | | | | | | | This is a rebased version of #2520. Conflicts: actionpack/test/dispatch/request_test.rb | |||||
* | | Merge pull request #7616 from lest/null-session-forgery-protection | Michael Koziarski | 2012-09-13 | 1 | -10/+6 | |
|\ \ | | | | | | | Implement :null_session CSRF protection method | |||||
| * | | Implement :null_session CSRF protection method | Sergey Nartimov | 2012-09-13 | 1 | -10/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | It's further work on CSRF after 245941101b1ea00a9b1af613c20b0ee994a43946. The :null_session CSRF protection method provide an empty session during request processing but doesn't reset it completely (as :reset_session does). | |||||
* | | | Define a SynchronousQueue for test in Action Pack. | Rafael Mendonça França | 2012-09-12 | 2 | -6/+10 | |
| | | | | | | | | | | | | We don't need to rely on rails/queueing in Action Pack tests | |||||
* | | | Merge pull request #7612 from arunagw/build_fix_queue | Carlos Antonio da Silva | 2012-09-12 | 1 | -0/+6 | |
|\ \ \ | | | | | | | | | Fix build Rails.queue | |||||
| * | | | Fix build Rails.queue | Arun Agrawal | 2012-09-12 | 1 | -0/+6 | |
| |/ / | | | | | | | | | | see 34b23e7110a3a13cf157608cefc9b5701017bf39 | |||||
* / / | warning removed. | Arun Agrawal | 2012-09-12 | 1 | -1/+0 | |
|/ / | | | | | | | | | 1. Unused variable 2. possibly useless use of a variable in void context | |||||
* | | Merge pull request #7594 from guilleiguaran/rb-template-handler | Rafael Mendonça França | 2012-09-10 | 2 | -0/+11 | |
|\ \ | | | | | | | Add .rb template handler | |||||
| * | | Add .rb template handler | Guillermo Iguaran | 2012-09-11 | 2 | -0/+11 | |
| | | | | | | | | | | | | This handler simply allows arbitrary Ruby code as a template | |||||
* | | | Merge pull request #7513 from kalys/master | Carlos Antonio da Silva | 2012-09-09 | 6 | -10/+10 | |
|\ \ \ | | | | | | | | | ERB::Util.html_escape encodes single quote as #39. Decimal form has better support in old browsers. | |||||
| * | | | ' dates back to SGML when ' was introduced in HTML 4.0 | Kalys Osmonov | 2012-09-09 | 6 | -10/+10 | |
| |/ / | ||||||
* / / | Use internal instance variable naming scheme for mounted URL helper proxies | Sam Pohlenz | 2012-09-09 | 1 | -0/+11 | |
|/ / | ||||||
* | | set default_headers to nil after use it to avoid order dependent tests | Francesco Rodriguez | 2012-09-08 | 1 | -25/+32 | |
| | | ||||||
* | | Merge pull request #7189 from GCorbel/excerpt_with_separation | Carlos Antonio da Silva | 2012-09-08 | 1 | -0/+13 | |
|\ \ | | | | | | | Add a separator option for the excerpt function. | |||||
| * | | Add a separation option for the excerpt function | Guirec Corbel | 2012-09-08 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The separation option enable to keep entire words, lines or anything. To split by line, like github, we can set the separation option as \n. To split by word, like google, we can set the separation option as " ". The radius option represent the number of lines or words we want to have in the result. The default behaviour is the same. If we don't set the separation option, it split the text any where. | |||||
* | | | Add integration tests for reset_session in cookie store | Andreas Loupasakis | 2012-09-08 | 1 | -0/+20 | |
| | | | ||||||
* | | | Add test for clear in ActionDispatch::Request::Session | Andreas Loupasakis | 2012-09-08 | 1 | -0/+9 | |
|/ / | ||||||
* | | Merge pull request #7552 from guilleiguaran/dalli-session-store | Santiago Pastorino | 2012-09-07 | 1 | -9/+4 | |
|\ \ | | | | | | | Use Dalli for memcache session store | |||||
| * | | Dalli doesn't support autoloading of unloaded classes | Guillermo Iguaran | 2012-09-06 | 1 | -5/+0 | |
| | | | ||||||
| * | | Let's run action pack tests with Dalli | Arun Agrawal | 2012-09-06 | 1 | -4/+4 | |
| | | | | | | | | | | | | There is no memcache gem left in repo. | |||||
* | | | AS::Callbacks: deprecate monkey patch of object callbacks | Bogdan Gusiev | 2012-09-07 | 1 | -7/+7 | |
|/ / | ||||||
* | | Use the same logger that ActionView::Base for the Digestor | Rafael Mendonça França | 2012-09-05 | 1 | -14/+17 | |
| | | ||||||
* | | Merge pull request #7522 from lexmag/mime_type | Rafael Mendonça França | 2012-09-04 | 1 | -1/+1 | |
|\ \ | | | | | | | Refactor `Mime::Type` | |||||
| * | | Refactor `Mime::Type` | Aleksey Magusev | 2012-09-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `parse` method performance improvements - ~27-33%: accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, , pronto/1.00.00, sslvpn/1.00.00.00, */*" Benchmark.measure{ 1_000_0.times { Mime::Type.parse(accept) }} old: 1.430000 0.000000 1.430000 ( 1.440977) new: 0.920000 0.000000 0.920000 ( 0.921813) | |||||
* | | | Make enhanced routing Concerns more tell-don't-ask | Ernie Miller | 2012-09-03 | 1 | -12/+15 | |
| | | |