Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | find(:all) => all | Akira Matsuda | 2011-07-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | config should always be an AS::InheritableOptions object. Closes #1992 | Santiago Pastorino | 2011-07-08 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | use Zlib.crc2 rather that bytes.sum, as per Aaron's suggestion | Xavier Noria | 2011-07-08 | 1 | -2/+2 | |
| | | | | | | | | | | | | That integer is rather irrelevant, the only thing that matters is that it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times faster than bytes.sum, so use that. | |||||
* | | Using the sum of bytes instead the hash of the path when replacing the ↵ | Albert Callarisa Roca | 2011-07-08 | 1 | -1/+2 | |
|/ | | | | wildcard of the assets path because in ruby 1.9 is not consistent | |||||
* | require 'thread' before using mutex | José Valim | 2011-07-01 | 1 | -0/+1 | |
| | ||||||
* | Don't require ActionView::Context as it's autoloaded | Andrew White | 2011-07-01 | 1 | -1/+0 | |
| | ||||||
* | Add missing requires for ActionView::Context and Module#instance_method_names | Andrew White | 2011-07-01 | 1 | -0/+2 | |
| | ||||||
* | Revert "Add method fields_for_with_index to FormHelper" | José Valim | 2011-07-01 | 1 | -18/+6 | |
| | | | | | | | | This reverts commit 7c562d5e460d97b18e4f3367b3cfb13401732920. Conflicts: actionpack/lib/action_view/helpers/form_helper.rb | |||||
* | Fixed ActionView::FormOptionsHelper#select with :multiple => false | Bogdan Gusiev | 2011-06-30 | 1 | -1/+1 | |
| | ||||||
* | sub suffices here | Xavier Noria | 2011-06-29 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1870 from chriseppstein/asset_urls_master | Santiago Pastorino | 2011-06-27 | 3 | -39/+101 | |
|\ | | | | | Asset urls master | |||||
| * | Added a configuration setting: | Chris Eppstein | 2011-06-27 | 3 | -7/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.action_controller.default_asset_host_protocol It's best to leave this unset. When unset the :request protocol is used whenever it can be and :relative is used in the other situations. When set to :request then assets hosts will be disabled when there is no request in scope and will use the request protocol whenever a request is in scope. If set to :relative, then a relative protocol is always used except for stylesheet link tags which must use the :request protocol to avoid double downloads in IE6&7. Conflicts: actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb | |||||
| * | Move the config bootstrapping to initialization to minimize access to the ↵ | Chris Eppstein | 2011-06-27 | 1 | -10/+7 | |
| | | | | | | | | Rails.application global. | |||||
| * | Stylesheet link tags should use the request protocol to avoid duplicate ↵ | Chris Eppstein | 2011-06-27 | 3 | -14/+37 | |
| | | | | | | | | | | | | | | | | | | download of stylesheets in IE7 and IE8. Conflicts: actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb actionpack/lib/sprockets/helpers/rails_helper.rb | |||||
| * | Add asset_url helper and refactor the asset paths so that asset hosts can be ↵ | Chris Eppstein | 2011-06-27 | 2 | -32/+63 | |
| | | | | | | | | | | | | | | | | | | | | used during asset precompilation. Conflicts: actionpack/lib/action_view/asset_paths.rb actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb | |||||
* | | the generated ALT attribute for images no longer contains the digest, if any | Xavier Noria | 2011-06-27 | 1 | -1/+5 | |
|/ | ||||||
* | make the logs a little simpler to view, put the render message inline with ↵ | James Cox | 2011-06-24 | 1 | -1/+1 | |
| | | | | other events, pull processing to char[0] and add a new line to the completed. looks more like a block now, which is useful for serial actions like test/dev | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-23 | 1 | -10/+10 | |
|\ | ||||||
| * | grammar changes in named routes description and clarity around possibilities ↵ | Matt Jankowski | 2011-06-22 | 1 | -10/+10 | |
| | | | | | | | | for options | |||||
* | | Minor refactor | Santiago Pastorino | 2011-06-23 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #1796 from jdeseno/master | Santiago Pastorino | 2011-06-22 | 1 | -1/+3 | |
|\ \ | | | | | | | link_to doesn't allow rel attribute when also specifying method | |||||
| * | | Allow additional link relations when using method attribute with link_to | Josh | 2011-06-20 | 1 | -1/+3 | |
| | | | ||||||
* | | | Merge pull request #1778 from spohlenz/hash-models | José Valim | 2011-06-22 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Fix nested fields_for when Hash-based model is passed. | |||||
| * | | | Test for extractable_options? within nested fields_for. | Sam Pohlenz | 2011-06-20 | 1 | -1/+1 | |
| | |/ | |/| | | | | | | | | | | This fixes an error when a record object that is a subclass of Hash is passed to fields_for, which is incorrectly interpreted as field options. | |||||
* | | | Rename AV::Helpers::AssetPaths to AV::AssetPaths to solve autoload mess. | José Valim | 2011-06-21 | 3 | -81/+83 | |
| |/ |/| | ||||||
* | | Only mark the sliced buffer as safe, if it was safe to begin with. | Christopher Meiklejohn | 2011-06-20 | 1 | -1/+2 | |
| | | ||||||
* | | Streamline fragment_for SafeBuffer logic to make it more concise. | Christopher Meiklejohn | 2011-06-20 | 1 | -6/+3 | |
| | | ||||||
* | | Do not change a frozen text passed to simple_format text helper | Tadas Tamosauskas | 2011-06-20 | 1 | -0/+1 | |
|/ | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 2 | -12/+16 | |
|\ | ||||||
| * | Typo. | R.T. Lechow | 2011-06-16 | 1 | -2/+2 | |
| | | ||||||
| * | form => form_for | Vijay Dev | 2011-06-15 | 1 | -1/+1 | |
| | | ||||||
| * | Clarify importance of *_attributes= writer methods for nested fields | Christine Yen | 2011-06-15 | 1 | -8/+12 | |
| | | ||||||
| * | cycle: make an odd number be marked as odd. | Robert Massaioli | 2011-06-13 | 1 | -1/+1 | |
| | | | | | | | | Just a minor issue that was annoying me so I thought that I would jump in and fix it. | |||||
* | | Select tag helpers: remove some code dups | Bogdan Gusiev | 2011-06-17 | 1 | -25/+10 | |
| | | ||||||
* | | Use html_safe | Santiago Pastorino | 2011-06-16 | 1 | -2/+2 | |
| | | ||||||
* | | Remove usage of memoizable from ActionPack. | José Valim | 2011-06-16 | 1 | -7/+6 | |
| | | ||||||
* | | simplify to only one condition | Damien Mathieu | 2011-06-15 | 1 | -5/+1 | |
| | | | | | | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | |||||
* | | Make MissingTranslation exception handler respect :rescue_format | Andrew White | 2011-06-15 | 1 | -1/+5 | |
| | | ||||||
* | | Merge pull request #1552 from bogdan/select | Piotr Sarnacki | 2011-06-11 | 1 | -6/+37 | |
|\ \ | | | | | | | Fixing select[multiple] html specification problem. | |||||
| * | | Fixing select[multiple] html specification problem. | Bogdan Gusiev | 2011-06-08 | 1 | -6/+37 | |
| | | | | | | | | | | | | Generating hidden input with same name before each multiple select | |||||
* | | | No need for a configuration option here. | José Valim | 2011-06-11 | 1 | -10/+2 | |
| | | | ||||||
* | | | Remove utf8_enforcer_param config option | David Lee | 2011-06-11 | 1 | -7/+0 | |
| | | | ||||||
* | | | Make utf8_enforcer_tag an overrideable method | David Lee | 2011-06-11 | 1 | -3/+7 | |
| | | | ||||||
* | | | Make utf8 enforcer param customizeable | David Lee | 2011-06-11 | 3 | -4/+18 | |
| | | | ||||||
* | | | There are no snowmen here | David Lee | 2011-06-11 | 1 | -3/+3 | |
| | | | ||||||
* | | | Revert "Make sure that we don't perform in-place mutation on SafeBuffer string" | Santiago Pastorino and José Ignacio Costa | 2011-06-10 | 1 | -3/+0 | |
| | | | | | | | | | | | | This reverts commit 115e80dccc65c3ed9a9750649d9ca4ea2a7e64f1. | |||||
* | | | Make sure that we don't perform in-place mutation on SafeBuffer string | Prem Sichanugrist | 2011-06-10 | 1 | -0/+3 | |
| |/ |/| | | | | | | | | | This will make sure `render :inline` is working. Closes #1633 | |||||
* | | Ensure number helpers can handle HTML safe strings - closes #1597. | Andrew White | 2011-06-10 | 1 | -1/+1 | |
| | | ||||||
* | | Make sure `escape_javascript` return `SafeBuffer` if the incoming argument ↵ | Prem Sichanugrist | 2011-06-09 | 1 | -1/+2 | |
| | | | | | | | | is already html_safe | |||||
* | | Make escape_javascript happy to handle SafeBuffers | Paul Gallagher | 2011-06-08 | 1 | -1/+1 | |
|/ | | | | | * see GH#1553 * allow for the fact that gsub on SafeBuffer does not pass match variables $1, $2 etc to a block |