Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 ensure data attributes are properly escaped with tag helpers | Carlos Antonio da Silva | 2012-11-01 | 1 | -2/+7 |
| | | | | Closes #8091 | ||||
* | 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 | 2 | -3/+3 |
| | |||||
* | 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. | ||||
* | 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 |
| | | |||||
* | | 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 |
|/ | |||||
* | Allow for deep directory path for view templates. | Andy Shipman | 2012-10-11 | 1 | -0/+6 |
| | |||||
* | recognizes when a partial was rendered twice. Closes #3675 | Yves Senn | 2012-10-11 | 1 | -0/+8 |
| | |||||
* | Remove old asset tag concatenation | Joshua Peek | 2012-10-10 | 1 | -752/+0 |
| | | | | Use sprockets, jammit, or some other asset bundler | ||||
* | 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. | ||||
* | remove method redefinition warnings | Rafael Mendonça França | 2012-09-27 | 1 | -1/+1 |
| | | | | | 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 | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | Merge pull request #7669 from guilleiguaran/rename-rb-handler | Carlos Antonio da Silva | 2012-09-17 | 1 | -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 | 1 | -3/+3 |
| | | | | | | | | classes | ||||
* | | allowing pass couple extension to register_template_handler call | Tima Maslyuchenko | 2012-09-17 | 1 | -0/+9 |
|/ | |||||
* | Merge pull request #7594 from guilleiguaran/rb-template-handler | Rafael Mendonça França | 2012-09-10 | 1 | -0/+8 |
|\ | | | | | Add .rb template handler | ||||
| * | Add .rb template handler | Guillermo Iguaran | 2012-09-11 | 1 | -0/+8 |
| | | | | | | | | This handler simply allows arbitrary Ruby code as a template | ||||
* | | ' dates back to SGML when ' was introduced in HTML 4.0 | Kalys Osmonov | 2012-09-09 | 6 | -10/+10 |
|/ | |||||
* | 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. | ||||
* | Use the same logger that ActionView::Base for the Digestor | Rafael Mendonça França | 2012-09-05 | 1 | -14/+17 |
| | |||||
* | Fix build about TemplateDigestorTest. | kennyj | 2012-08-30 | 1 | -3/+3 |
| | |||||
* | `Digestor` can now parse old style hash syntax for `render` | Christos Zisopoulos | 2012-08-30 | 1 | -0/+6 |
| | |||||
* | `Digestor` ignores most whitespace when parsing `render` invocations | Christos Zisopoulos | 2012-08-30 | 1 | -0/+23 |
| | |||||
* | Add automatic template digests to all CacheHelper#cache calls (originally ↵ | David Heinemeier Hansson | 2012-08-29 | 1 | -0/+128 |
| | | | | spiked in the cache_digests plugin) *DHH* | ||||
* | Fix ActionView::RecordIdentifier to work as a singleton | Piotr Sarnacki | 2012-08-28 | 1 | -0/+9 |
| | | | | | We extend it with self, but the methods were not working properly were used directly on module. | ||||
* | Deprecate Template#mime_type | Piotr Sarnacki | 2012-08-28 | 1 | -0/+7 |
| | |||||
* | Don't require action_dispatch in ActionView::UrlHelpers | Piotr Sarnacki | 2012-08-28 | 2 | -2/+3 |
| | | | | | | | | | | ActionDispatch::Routing::UrlFor was always required in UrlHelpers. This was changed by splitting previous implementation of UrlHelper into 2 modules: ActionView::Helpers::UrlHelper and ActionView::Routing::UrlHelper. The former one keeps only basic implementation of url_for. The latter adds features that allow to use routes and is only required when url_helpers or mounted_helpers are required. | ||||
* | Add ActionView::Base.default_formats | Piotr Sarnacki | 2012-08-28 | 1 | -0/+11 |
| | | | | | | | | default_formats array is used by LookupContext in order to allow rendering templates when :formats option is not passed. Previously it was always set to Mime::SET, which created dependency on Action Pack. In order to remove this dependency, Mime::SET is used only if ActionController is loaded. | ||||
* | Deprecate mime types lookup in auto_discovery_link_tag | Piotr Sarnacki | 2012-08-28 | 1 | -1/+10 |
| | | | | | | Automatically handling mime types for things other than :rss and :atom is not functionality that justifies dependency on Mime::Type from actionpack. | ||||
* | Remove stubs from LogSubscriber tests | Piotr Sarnacki | 2012-08-28 | 1 | -3/+4 |
| | | | | | | | We can use another way to instantiate ActionView::Base, by passing renderer as a first option. Thanks to that we can just pass prefixes to LookupContext instead stubbing them on the controller. This is also good, because that kind of API is used in Rails code. | ||||
* | Move ActionController::RecordIdentifier to ActionView | Piotr Sarnacki | 2012-08-28 | 1 | -0/+40 |
| | | | | | | | Since it's more about DOM classes and ids it belongs to Action View better. What's more, it's more convenient to make it part of Action View to follow the rule that Action Pack can depend on Action View, but not the other way round. |