Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename "Fixtures" class to "FixtureSet" | Alexey Muranov | 2012-10-07 | 1 | -1/+1 |
| | | | | Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture. | ||||
* | Ruby 2 compat. CGI.escapeHTML has changed the way it escapes apostrophes a ↵ | Jeremy Kemper | 2012-10-06 | 1 | -1/+1 |
| | | | | few times, so fix up the test to work with however it chooses to escape. | ||||
* | Fix nodoc comment | Rafael Mendonça França | 2012-10-07 | 1 | -16/+15 |
| | |||||
* | More Ruby 1.9 hash syntax. | Rafael Mendonça França | 2012-10-06 | 1 | -52/+47 |
| | |||||
* | We don't need to check blank? here. | Rafael Mendonça França | 2012-10-06 | 1 | -1/+1 |
| | | | | | | | | Also the blank? check introduced a bug. $ rails generate model Foo blank:boolean form_for(Foo.new(:blank => true)) => ArgumentError, "First argument in form cannot contain nil or be empty" | ||||
* | Update some code styles. | Rafael Mendonça França | 2012-10-06 | 2 | -200/+228 |
| | | | | | * Uses the Ruby 1.9 hash syntax * Avoid escaping " inside string using the %{} syntax | ||||
* | Accept :remote as symbol in link_to options | Riley Lynch | 2012-10-06 | 3 | -2/+21 |
| | | | | | Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to. | ||||
* | can't pass :locals to #assert_template without a view test case. Closes #3415 | Yves Senn | 2012-10-06 | 3 | -4/+24 |
| | | | | | | | | | | | the documentation on #assert_template states that the :locals option is only available in view test cases: # In a view test case, you can also assert that specific locals are passed # to partials: I added a warning when it's passed in an inapropriate context to prevent a NoMethodError. | ||||
* | We don't need the each call since grep take a block and yield each match | Rafael Mendonça França | 2012-10-06 | 1 | -1/+1 |
| | | | | | | to the block. Thanks @tenderlove | ||||
* | Allow parameter filters to match multi-parameter attributes | Rafael Mendonça França | 2012-10-05 | 2 | -0/+34 |
| | | | | | | | This will make easier to permit date/time attributes generated by helpers like date_select. [Sven Schwyn + Rafael Mendonça França] | ||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -2/+2 |
| | |||||
* | Update CHANGELOG entry about rack-cache extract | Guillermo Iguaran | 2012-10-04 | 1 | -3/+7 |
| | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 1 | -6/+1 |
| | |||||
* | Remove unneeded CHANGELOG entry. | Rafael Mendonça França | 2012-10-04 | 1 | -3/+0 |
| | | | | | | | This was added in Rails 4 and we don't need changelog entries to behavior changes [ci skip] | ||||
* | Merge pull request #7847 from bloudermilk/recursive_permit | David Heinemeier Hansson | 2012-10-04 | 3 | -0/+15 |
|\ | | | | | ActionController::Parameters#permit! is recursive | ||||
| * | ActionController::Parameters#permit! is recursive | Brendan Loudermilk | 2012-10-04 | 3 | -0/+15 |
| | | |||||
* | | Do not set removed option | Rafael Mendonça França | 2012-10-04 | 1 | -1/+0 |
|/ | | | | | Sine page caching was remove from the core we don't have the page_cache_directory anymore | ||||
* | Merge pull request #7833 from frodsan/extract_ap_pages_actions_caching | Rafael Mendonça França | 2012-10-04 | 7 | -1138/+58 |
|\ | | | | | Extract AP Page and Action caching from Rails | ||||
| * | add CHANGELOG entry for AP page and action caching extraction [ci skip] | Francesco Rodriguez | 2012-10-04 | 1 | -0/+11 |
| | | |||||
| * | rename page_cache_extension option to default_static_extension | Francesco Rodriguez | 2012-10-03 | 3 | -11/+28 |
| | | |||||
| * | extract AP Page and Action caching to actionpack-deprecated_caching gem | Francesco Rodriguez | 2012-10-03 | 5 | -1138/+30 |
| | | |||||
* | | Add nodoc to now public fragment_name_with_digest | Ryan Garver | 2012-10-04 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into feature/public-fragment_name_with_digest | Ryan Garver | 2012-10-02 | 25 | -209/+359 |
|\| | |||||
| * | Failsafe exception returns text/plain. | Steve Klabnik | 2012-10-01 | 3 | -3/+21 |
| | | | | | | | | | | | | | | It's best to just return text/plain when something has gone terribly wrong. Fixes #5660. | ||||
| * | Merge pull request #7708 from bdurand/optimize_log_subscribers | Rafael Mendonça França | 2012-10-01 | 2 | -8/+16 |
| |\ | | | | | | | Optimize log subscribers to check if the log level is sufficient | ||||
| | * | Optimize log subscribers to check if the log level is sufficient before ↵ | Brian Durand | 2012-09-30 | 2 | -8/+16 |
| | | | | | | | | | | | | performing an operations. | ||||
| * | | Add the CHANGELOG entry that Guillermo forgot :P | Santiago Pastorino | 2012-10-02 | 1 | -0/+5 |
| | | | |||||
| * | | Merge pull request #7794 from guilleiguaran/extract-rack-cache | Santiago Pastorino | 2012-10-01 | 1 | -1/+0 |
| |\ \ | | | | | | | | | Use Rack::Cache middleware only if is in Gemfile | ||||
| | * | | Use Rack::Cache middleware only if is in Gemfile | Guillermo Iguaran | 2012-10-01 | 1 | -1/+0 |
| | | | | |||||
| * | | | prefix TemplateAssertions ivars (#7459) | Yves Senn | 2012-10-01 | 3 | -23/+29 |
| | | | | |||||
| * | | | resource and resources do no longer modify passed options | Yves Senn | 2012-10-01 | 3 | -2/+27 |
| | | | | | | | | | | | | | | | | this is a patch for #7777. | ||||
| * | | | fix cache store test | Steve Klabnik | 2012-09-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Pull #7800 broke the build, this should fix it. | ||||
| * | | | Add a changelog entry for asset aliasing update in sprockets-rails. Supports ↵ | Jeremy Kemper | 2012-09-30 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | referencing foo.js as foo/index.js and vice versa. | ||||
| * | | | Fix changelog entry about sprockets-rails | Guillermo Iguaran | 2012-09-30 | 1 | -3/+2 |
| | | | | |||||
| * | | | Whitespaces :scissors: [ci skip] | Rafael Mendonça França | 2012-09-30 | 2 | -11/+14 |
| | | | | |||||
| * | | | `assert_template` no more passing with what ever string that matches. | Hugo Roque | 2012-09-29 | 4 | -5/+51 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing | ||||
| * | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-28 | 8 | -119/+139 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb | ||||
| | * | | update image_tag output in examples to actual | Nihad Abbasov | 2012-09-25 | 1 | -4/+4 |
| | | | | | | | | | | | | [ci-skip] | ||||
| | * | | update AC::ConditionalGet documentation [ci skip] | Francesco Rodriguez | 2012-09-22 | 1 | -27/+31 |
| | | | | |||||
| | * | | update AC::Caching documentation [ci skip] | Francesco Rodriguez | 2012-09-22 | 5 | -87/+103 |
| | | | | |||||
| | * | | remove AC::Parameters reference [ci skip] | Francesco Rodriguez | 2012-09-21 | 1 | -1/+1 |
| | | | | |||||
| | * | | fix typos in AC::StrongParameters documentation [ci skip] | Francesco Rodriguez | 2012-09-21 | 1 | -2/+2 |
| | | | | |||||
| * | | | move metal/caching_test into controller/caching_test | Francesco Rodriguez | 2012-09-27 | 2 | -37/+42 |
| | | | | |||||
| * | | | Fix tests broken by adding a new instance variable to view test cases | Jeremy Kemper | 2012-09-27 | 1 | -0/+1 |
| | | | | |||||
| * | | | remove method redefinition warnings | Rafael Mendonça França | 2012-09-27 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | actionpack/test/template/spec_type_test.rb:32: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters actionpack/test/controller/spec_type_test.rb:30: warning: previous definition of test_spec_type_wont_match_non_space_characters was here | ||||
| * | | | Is not needed to wrap name inside an array here | Santiago Pastorino | 2012-09-27 | 1 | -1/+1 |
| | | | | |||||
| * | | | Change key not found to param not found | Santiago Pastorino | 2012-09-27 | 1 | -6/+6 |
| | | | | |||||
* | | | | Move the CacheHelper#fragment_name_with_digest to be public so custom ↵ | Ryan Garver | 2012-09-27 | 1 | -11/+11 |
|/ / / | | | | | | | | | | fragment caching can benefit from it. | ||||
* | | | Also includes ConstantLookup dependency for controller and mailer tests | Andy Lindeman | 2012-09-26 | 1 | -0/+1 |
| | | |