Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | image_tag should use /assets if asset pipelining is turned on. Closes #3126 | Santiago Pastorino | 2011-09-26 | 1 | -0/+4 | |
|/ | ||||||
* | Merge pull request #3124 from avakhov/patch-6-stylesheet-link | José Valim | 2011-09-25 | 1 | -0/+4 | |
|\ | | | | | escape options for the stylesheet_link_tag method | |||||
| * | escape options for the stylesheet_link_tag method | Alexey Vakhov | 2011-09-25 | 1 | -0/+4 | |
| | | ||||||
* | | Add public API for register new js and css compressors for Sprockets | Guillermo Iguaran | 2011-09-24 | 1 | -0/+29 | |
|/ | ||||||
* | Merge pull request #3092 from asee/master | Santiago Pastorino | 2011-09-23 | 1 | -0/+10 | |
|\ | | | | | Sprockets to use config.assets.prefix, with tests | |||||
| * | Fixes #1489 again, with updated code and numerous tests to confirm | docunext | 2011-09-22 | 1 | -0/+10 | |
| | | ||||||
* | | Fix failing tests and add tests for :formats on partial. | José Valim | 2011-09-23 | 1 | -5/+10 | |
| | | ||||||
* | | Allow both sym and array for details options in #render. using ↵ | Nick Sutterer | 2011-09-23 | 1 | -0/+3 | |
| | | | | | | | | LC#registered_details to extract options. | |||||
* | | added tests for render :file/:template and the :formats/:handlers/:locale ↵ | Nick Sutterer | 2011-09-23 | 1 | -1/+17 | |
| | | | | | | | | options. | |||||
* | | Deprecate passing the template handler in the template name. | José Valim | 2011-09-22 | 4 | -37/+39 | |
| | | | | | | | | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases. | |||||
* | | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 2 | -10/+5 | |
| | | ||||||
* | | it is now possible to pass details options (:formats, :details, :locales, ↵ | Nick Sutterer | 2011-09-22 | 1 | -0/+6 | |
|/ | | | | ...) to #render, #find_template and friends. this doesn't change anything in global context. | |||||
* | Allow asset tag helper methods to accept :digest => false option in order to ↵ | Santiago Pastorino | 2011-09-14 | 1 | -16/+28 | |
| | | | | completely avoid the digest generation. | |||||
* | Set relative url root in assets when controller isn't available for ↵ | Guillermo Iguaran | 2011-09-13 | 1 | -0/+7 | |
| | | | | | | Sprockets. Fix #2435 See https://github.com/rails/sass-rails/issues/42 for details | |||||
* | No need to use </form> here. It's already in whole_form block | Arun Agrawal | 2011-09-10 | 1 | -2/+1 | |
| | ||||||
* | Merge pull request #2872 from sikachu/content_tag_html_safe | Santiago Pastorino | 2011-09-05 | 1 | -0/+12 | |
|\ | | | | | Make sure that result from content_tag_for with collection is html_safe | |||||
| * | Make sure that result from content_tag_for with collection is html_safe | Prem Sichanugrist | 2011-09-05 | 1 | -0/+12 | |
| | | | | | | Thank you @spastorino for catching the empty test in b84cee0, as I totally forgot that I still have to make it html_safe. | |||||
* | | Merge pull request #2815 from avakhov/current-page-non-get-requests | Santiago Pastorino | 2011-09-05 | 1 | -2/+8 | |
|\ \ | | | | | | | current_page? returns false for non-GET requests | |||||
| * | | current_page? returns false for non-GET requests | Alexey Vakhov | 2011-09-02 | 1 | -2/+8 | |
| | | | ||||||
* | | | Merge pull request #2799 from tomstuart/3-1-stable | Santiago Pastorino | 2011-09-05 | 1 | -0/+36 | |
| | | | | | | | | | | | | Never return stored content from content_for when a block is given | |||||
* | | | add blanks between methods | Vijay Dev | 2011-09-05 | 1 | -0/+3 | |
| |/ |/| | ||||||
* | | Remove empty test | Santiago Pastorino | 2011-09-05 | 1 | -3/+0 | |
| | | ||||||
* | | Tests shouldn't produce warnings | Ray Baxter | 2011-09-04 | 1 | -0/+5 | |
| | | ||||||
* | | Make `content_tag_for` and `div_for` accepts the array of records | Prem Sichanugrist | 2011-09-04 | 1 | -2/+22 | |
|/ | | | | | | | | | | | | | | | So instead of having to do this: @items.each do |item| content_tag_for(:li, item) do Title: <%= item.title %> end end You can now do this: content_tag_for(:li, @items) do |item| Title: <%= item.title %> end | |||||
* | Backport f443f9cb0c64 to master | Guillermo Iguaran | 2011-08-31 | 1 | -2/+4 | |
| | ||||||
* | Removed Unused Variable. | Arun Agrawal | 2011-08-26 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #2491 from waynn/fix_symbol | Santiago Pastorino | 2011-08-25 | 1 | -0/+6 | |
|\ | | | | | fix destructive stringify_keys for label_tag | |||||
| * | fix destructive stringify_keys for label_tag | Waynn Lue | 2011-08-11 | 1 | -0/+6 | |
| | | ||||||
* | | Merge pull request #2644 from guilleiguaran/allow-assets-debugging | Santiago Pastorino | 2011-08-24 | 1 | -0/+2 | |
|\ \ | | | | | | | Add config.allow_debugging option | |||||
| * | | Add config.allow_debugging option to determine if the debug_assets query ↵ | Guillermo Iguaran | 2011-08-24 | 1 | -0/+2 | |
| | | | | | | | | | | | | param can be passed by user | |||||
* | | | Debug assets shouldn't ignore media type for stylesheets. Closes #2625 | Guillermo Iguaran | 2011-08-23 | 1 | -0/+3 | |
|/ / | ||||||
* | | Ensure regexp and hash key are UTF-8 | Andrew White | 2011-08-23 | 1 | -1/+6 | |
| | | ||||||
* | | Merge pull request #2411 from ai/debug_assets_by_config | Santiago Pastorino | 2011-08-22 | 1 | -14/+6 | |
|\ \ | | | | | | | Debug assets by config | |||||
| * | | Allow to debug assets by config.assets.debug | Andrey A.I. Sitnik | 2011-08-22 | 1 | -14/+6 | |
| | | | ||||||
* | | | fix escape_javascript for unicode character \u2028. | Teng Siong Ong | 2011-08-21 | 1 | -0/+1 | |
|/ / | ||||||
* | | Debug assets by default in development and test environments | Guillermo Iguaran | 2011-08-18 | 1 | -6/+22 | |
| | | ||||||
* | | Tags with invalid names should also be stripped in order to prevent | Aaron Patterson | 2011-08-16 | 1 | -0/+7 | |
| | | | | | | | | XSS attacks. Thanks Sascha Depold for the report. | |||||
* | | Unused variable removed. | Arun Agrawal | 2011-08-15 | 1 | -4/+4 | |
| | | ||||||
* | | deprecating process_view_paths | Aaron Patterson | 2011-08-09 | 2 | -2/+2 | |
| | | ||||||
* | | generate environment dependent asset digests | Ilya Grigorik | 2011-08-04 | 1 | -0/+13 | |
| | | | | | | | | | | | | If two different environments are configured to use the pipeline, but one has an extra step (such as compression) then without taking the environment into account you may end up serving wrong assets | |||||
* | | Merge pull request #2421 from pivotal-casebook/master | Santiago Pastorino | 2011-08-04 | 1 | -2/+2 | |
|\ \ | | | | | | | Simple_format should not edit it in place. (Fixes https://github.com/rails/rails/issues/1980) | |||||
| * | | ActionView::Helpers::TextHelper#simple_format should not change the text in ↵ | Casebook Developer | 2011-08-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | place. Now it duplicates it. | |||||
* | | | Merge pull request #2356 from waynn/fix_symbol | Santiago Pastorino | 2011-08-04 | 1 | -0/+24 | |
|\ \ \ | |/ / |/| / | |/ | fix stringify_keys destructive behavior for most FormTagHelper functions | |||||
| * | fix stringify_keys destructive behavior for most FormTagHelper functions | Waynn Lue | 2011-08-03 | 1 | -0/+24 | |
| | | | | | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355 | |||||
* | | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-01 | 2 | -3/+3 | |
|/ | | | | File#to_path and similar. | |||||
* | Instead of removing the instance variable just set it to nil, resolves the ↵ | Brian Cardarella | 2011-07-29 | 1 | -2/+2 | |
| | | | | warnings because of a missing instance variable | |||||
* | Merge pull request #2034 from Casecommons/to_path | José Valim | 2011-07-28 | 2 | -0/+41 | |
|\ | | | | | Allow ActiveModel-compatible instances to define their own partial paths | |||||
| * | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 2 | -0/+41 | |
| | | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances. | |||||
* | | Merge pull request #2095 from dgeb/issue-2094 | Aaron Patterson | 2011-07-26 | 1 | -0/+17 | |
|\ \ | | | | | | | Fixes overriding of options[:html][:remote] in form_for() (Issue #2094) | |||||
| * | | added test case for fix to issue #2094 | Dan Gebhardt | 2011-07-16 | 1 | -0/+17 | |
| | | |