Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Test that not permitted is sticky on #except | Benjamin Quorning | 2012-11-06 | 1 | -0/+1 | |
| | | ||||||
* | | Current tests are testing stickiness of non-permitted parameters | Benjamin Quorning | 2012-11-06 | 1 | -3/+3 | |
| | | ||||||
* | | Fix buggy tests | Benjamin Quorning | 2012-11-06 | 1 | -4/+4 | |
| | | ||||||
* | | Add ensure block to make sure the state is properly restored | Carlos Antonio da Silva | 2012-11-04 | 1 | -1/+1 | |
|/ | ||||||
* | Support :multiple option on input tags with :index | Daniel Fox, Grant Hutchins & Trace Wax | 2012-11-02 | 1 | -0/+13 | |
| | | | | | When you have an explicit index set, then when you build an input tag with :multiple => true, it doesn't add [] to the end of its name, although it should. | |||||
* | Add test to avoid regression of 1bfc5b4 | Rafael Mendonça França | 2012-11-02 | 1 | -0/+8 | |
| | ||||||
* | Revert "Merge pull request #7668 from Draiken/fix_issue_6497" | Rafael Mendonça França | 2012-11-02 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | This reverts commit f4ad0ebe7a6b17658bddfeb996e3c34835b75623, reversing changes made to 8b2cbb3a832101f0e672ee309beca0f8c555b292. Conflicts: actionpack/CHANGELOG.md REASON: This added introduced a bug when you have a shorthand route inside a nested namespace. See https://github.com/rafaelfranca/rails/commit/281367eb770faf8077c1fd6194188e92ed1637a1 | |||||
* | Fix #8086 (BestStandardsSupport rewrites app X-UA-Compatible header, now ↵ | Nikita Afanasenko | 2012-11-01 | 1 | -0/+34 | |
| | | | | | | | appends). Now `BestStandardsSupport` middleware appends it's `X-UA-Compatible` value to app's value. Also test for `BestStandardsSupport` middleware added. | |||||
* | Add test to ensure data attributes are properly escaped with tag helpers | Carlos Antonio da Silva | 2012-11-01 | 1 | -2/+7 | |
| | | | | Closes #8091 | |||||
* | No need for the debugger | David Heinemeier Hansson | 2012-10-31 | 1 | -1/+0 | |
| | ||||||
* | Allow #permit to take its list of permitted parameters as an array | David Heinemeier Hansson | 2012-10-31 | 1 | -0/+5 | |
| | ||||||
* | Revert "if format is unknown NullMimeTypeObject is returned" | Guillermo Iguaran | 2012-10-31 | 1 | -11/+1 | |
| | | | | This reverts commit a8560fa361958b33d76e4468eb5c07d82a20196e. | |||||
* | if format is unknown NullMimeTypeObject is returned | Angelo capilleri | 2012-10-31 | 1 | -1/+11 | |
| | | | | | | | | | | If a unknown format is passed in a request, the methods html?, xml?, json? ...etc Nil Exception. This patch add a class NullMimeTypeObject, that is returned when request.format is unknown and it responds false to the methods that ends with '?'. It refers to #7837, not fixes because it's not considered a improvement not a bug. | |||||
* | Fix failing tests and use new hash style in deprecation messages | Carlos Antonio da Silva | 2012-10-29 | 2 | -12/+12 | |
| | ||||||
* | Improve the deprecation message of link_to_function and | Rafael Mendonça França | 2012-10-27 | 1 | -6/+6 | |
| | | | | | | button_to_function Point the the Unobtrusive JavaScript secion in the JavaScript guide | |||||
* | cleanup, remove trailing whitespace within actionpack | Yves Senn | 2012-10-27 | 9 | -15/+15 | |
| | ||||||
* | give access to the original exception raised in case of a parse error | Aaron Patterson | 2012-10-25 | 1 | -0/+14 | |
| | ||||||
* | do not lose backtrace information from the raised exception | Aaron Patterson | 2012-10-25 | 1 | -4/+5 | |
| | ||||||
* | check_box value can be not only an object of Array class | Vasiliy Ermolovich | 2012-10-20 | 1 | -0/+6 | |
| | | | | there is a chance that `value` is a Set or an object that reponses to `include?` method so let's handle this case | |||||
* | Add i18n scope to disance_of_time_in_words. | Steve Klabnik | 2012-10-19 | 1 | -10/+19 | |
| | | | | This fixes #733. | |||||
* | add test for fetch with a block | Aaron Patterson | 2012-10-18 | 1 | -0/+4 | |
| | ||||||
* | prefer composition over inheritence | Aaron Patterson | 2012-10-18 | 1 | -0/+16 | |
| | ||||||
* | Merge pull request #7975 from butcher/extend_date_select_helper_functionality | Rafael Mendonça França | 2012-10-18 | 1 | -0/+16 | |
|\ | | | | | | | | | | | | | Extend date_select helper functionality. Conflicts: actionpack/CHANGELOG.md | |||||
| * | Extend date_select helper functionality. | Pavel Nikitin | 2012-10-18 | 1 | -0/+16 | |
| | | ||||||
* | | Permit string and float values in the multiparameter attributes | Rafael Mendonça França | 2012-10-18 | 1 | -9/+14 | |
| | | ||||||
* | | use the tmp filesystem rather than our own thing. | Aaron Patterson | 2012-10-17 | 1 | -5/+9 | |
|/ | ||||||
* | Ignore asset url query string or anchor when appending extensions and ↵ | Joshua Peek | 2012-10-15 | 1 | -1/+18 | |
| | | | | computing public path | |||||
* | Extract compute_asset_extname and allow extname to be disabled | Joshua Peek | 2012-10-15 | 1 | -6/+15 | |
| | ||||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 1 | -5/+1 | |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | |||||
| * | Minor cleanup, helper method was only used once | Ayrton De Craene | 2012-10-15 | 1 | -5/+1 | |
| | | ||||||
* | | :fire: Rails asset id support | Joshua Peek | 2012-10-15 | 1 | -80/+1 | |
| | | ||||||
* | | Allow asset url config to be undefined | Joshua Peek | 2012-10-13 | 1 | -0/+41 | |
| | | ||||||
* | | Add a few more compute_asset_path tests | Joshua Peek | 2012-10-13 | 1 | -0/+8 | |
| | | ||||||
* | | JAVASCRIPTS_DIR, STYLESHEETS_DIR, ASSETS_DIR don't even exist anymore | Joshua Peek | 2012-10-12 | 1 | -28/+0 | |
| | | ||||||
* | | Ensure AssetUrlHelper can be mixed into AC::Base | Joshua Peek | 2012-10-12 | 1 | -0/+33 | |
| | | ||||||
* | | Refactor AssetUrlHelper to make it friendly for plugins and extensions | Joshua Peek | 2012-10-12 | 1 | -1/+35 | |
| | | | | | | | | | | | | | | | | Add asset_path/url helper for a consolidated entry point Expose compute_asset_path as a public API Expose compute_asset_host as a public API Move RAILS_ASSET_ID to its own module, AssetIdHelper Removed AV::AssetPaths | |||||
* | | Add asset_path and asset_url helpers | Joshua Peek | 2012-10-12 | 1 | -0/+18 | |
|/ | ||||||
* | Cleanup trailing whitespaces | dfens | 2012-10-12 | 1 | -1/+1 | |
| | ||||||
* | When executing permit with just a key that points to a hash, DO NOT allow ↵ | Santiago Pastorino | 2012-10-12 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | all the hash params.require(:person).permit(:projects_attributes) was returning => {"projects_attributes"=>{"0"=>{"name"=>"Project 1"}}} When should return => {} You should be doing ... params.require(:person).permit(projects_attributes: :name) to get just the projects attributes you want to allow | |||||
* | Allow for deep directory path for view templates. | Andy Shipman | 2012-10-11 | 3 | -0/+7 | |
| | ||||||
* | recognizes when a partial was rendered twice. Closes #3675 | Yves Senn | 2012-10-11 | 2 | -0/+10 | |
| | ||||||
* | Remove old asset tag concatenation | Joshua Peek | 2012-10-10 | 1 | -752/+0 | |
| | | | | Use sprockets, jammit, or some other asset bundler | |||||
* | 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. | |||||
* | Update some code styles. | Rafael Mendonça França | 2012-10-06 | 1 | -150/+180 | |
| | | | | | * 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 | 1 | -0/+14 | |
| | | | | | 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 | 1 | -0/+11 | |
| | | | | | | | | | | | 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. | |||||
* | Allow parameter filters to match multi-parameter attributes | Rafael Mendonça França | 2012-10-05 | 1 | -0/+33 | |
| | | | | | | | This will make easier to permit date/time attributes generated by helpers like date_select. [Sven Schwyn + Rafael Mendonça França] | |||||
* | ActionController::Parameters#permit! is recursive | Brendan Loudermilk | 2012-10-04 | 1 | -0/+7 | |
| | ||||||
* | rename page_cache_extension option to default_static_extension | Francesco Rodriguez | 2012-10-03 | 1 | -0/+15 | |
| |