Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -7/+11 |
|\ | |||||
| * | Merge pull request #7708 from bdurand/optimize_log_subscribers | Rafael Mendonça França | 2012-10-01 | 1 | -2/+5 |
| |\ | | | | | | | 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 | 1 | -2/+5 |
| | | | | | | | | | | | | performing an operations. | ||||
| * | | prefix TemplateAssertions ivars (#7459) | Yves Senn | 2012-10-01 | 1 | -3/+3 |
| | | | |||||
| * | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-28 | 1 | -2/+2 |
| |\ \ | | | | | | | | | | | | | | | | | 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] | ||||
| * | | Fix tests broken by adding a new instance variable to view test cases | Jeremy Kemper | 2012-09-27 | 1 | -0/+1 |
| | | | |||||
* | | | 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. | ||||
* | | Adds missing dependency to ActionView::TestCase::Behavior | Andy Lindeman | 2012-09-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | * The module is needed for the `determine_constant_from_test_name` method. * Without it, the including class is required to also include `ActiveSupport::Testing::ConstantLookup` or a `NoMethodError` will be raised upon instantiation of that class. * Issue introduced in c0a24555f9e2749fb94efe1967cb9943db0b6a7e | ||||
* | | change ^ and $ anchors in regexp to \A and \z respectively | Nihad Abbasov | 2012-09-25 | 1 | -1/+1 |
| | | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions | ||||
* | | allow to pass numerical value to size option in image_tag | Nihad Abbasov | 2012-09-25 | 1 | -4/+5 |
| | | | | | | | | | | 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 | 1 | -4/+3 |
| | | | | | | | | | | 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/+3 |
|/ | |||||
* | copy edits 137e5d9 | Xavier Noria | 2012-09-18 | 1 | -1/+1 |
| | |||||
* | Add extra documentation for password_field | Arek W | 2012-09-18 | 1 | -1/+1 |
| | | | | I think this should be explicit as the password fields behaviour is inconsistent with other fields in this regard. It had me scratching my head until I dug through the source code. | ||||
* | Merge pull request #7669 from guilleiguaran/rename-rb-handler | Carlos Antonio da Silva | 2012-09-17 | 1 | -1/+1 |
|\ | | | | | 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 | -1/+1 |
| | | | | | | | | classes | ||||
* | | allowing pass couple extension to register_template_handler call | Tima Maslyuchenko | 2012-09-17 | 1 | -3/+6 |
|/ | |||||
* | use presence method instead of checking for blank | Nihad Abbasov | 2012-09-14 | 1 | -1/+1 |
| | |||||
* | Add .rb template handler | Guillermo Iguaran | 2012-09-11 | 1 | -0/+1 |
| | | | | This handler simply allows arbitrary Ruby code as a template | ||||
* | Tidy up excerpt separator logic a bit | Carlos Antonio da Silva | 2012-09-08 | 1 | -17/+11 |
| | |||||
* | Refactor some date helpers to use merge! | Carlos Antonio da Silva | 2012-09-08 | 1 | -5/+9 |
| | | | | Also just set the hash value instead of merging when it's only one key. | ||||
* | Add a separation option for the excerpt function | Guirec Corbel | 2012-09-08 | 1 | -11/+49 |
| | | | | | | | | | | 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. | ||||
* | fix tests on Ruby 2.0.0 | Aaron Patterson | 2012-09-06 | 1 | -1/+1 |
| | |||||
* | Define just the cattr_reader. | Rafael Mendonça França | 2012-09-05 | 1 | -1/+2 |
| | | | | | This will trim down the API and avoid some error that can be made changing the cache object. | ||||
* | Use the same logger that ActionView::Base for the Digestor | Rafael Mendonça França | 2012-09-05 | 1 | -2/+5 |
| | |||||
* | Remove unneeded requires | Rafael Mendonça França | 2012-09-05 | 1 | -7/+3 |
| | | | | | We should not require all the core extensions inside the frameworks. The logger is already defined in the Action View framework. | ||||
* | We dont need to include the name and the format in the digest -- source is ↵ | David Heinemeier Hansson | 2012-09-04 | 1 | -1/+1 |
| | | | | authoritative enough | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-01 | 1 | -0/+4 |
|\ | |||||
| * | reverting changes from commit b0896c38 | Sven Kraeuter | 5v3n | 2012-09-01 | 1 | -1/+1 |
| | | |||||
| * | there is no "delete" action in a controller | Sven Kräuter | 2012-08-31 | 1 | -1/+1 |
| | | |||||
| * | Added example of using options_for_select() with select_tag() | Kir Shatrov | 2012-08-30 | 1 | -0/+4 |
| | | |||||
* | | Remove unneeded require | Piotr Sarnacki | 2012-09-01 | 1 | -1/+0 |
| | | |||||
* | | Sprockets-rails tests fail | Dmitry Vorotilin | 2012-09-01 | 2 | -3/+8 |
| | | | | | | | | | | | | | | Method invalid_asset_host! was delegated to controller but sprockets compile assets in their own scope without controller. And if we set asset_host with second parameter it should raise error through invalid_asset_host!. But since controller is nil it cannot be reached. | ||||
* | | Further improve RENDER_DEPENDENCY regexp comments | Christos Zisopoulos | 2012-08-30 | 1 | -1/+1 |
| | | |||||
* | | Improve RENDER_DEPENDENCY regexp comment to keep the doc editor happy. | Christos Zisopoulos | 2012-08-30 | 1 | -1/+1 |
| | | |||||
* | | `Digestor` can now parse old style hash syntax for `render` | Christos Zisopoulos | 2012-08-30 | 1 | -4/+4 |
| | | |||||
* | | `Digestor` ignores most whitespace when parsing `render` invocations | Christos Zisopoulos | 2012-08-30 | 1 | -2/+2 |
| | | |||||
* | | Add automatic template digests to all CacheHelper#cache calls (originally ↵ | David Heinemeier Hansson | 2012-08-29 | 2 | -9/+197 |
| | | | | | | | | spiked in the cache_digests plugin) *DHH* | ||||
* | | Fix ActionView::RecordIdentifier to work as a singleton | Piotr Sarnacki | 2012-08-28 | 1 | -0/+1 |
| | | | | | | | | | | 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/+6 |
| | | |||||
* | | Implement ActionView::Template::Types | Piotr Sarnacki | 2012-08-28 | 4 | -4/+64 |
| | | | | | | | | | | | | AV::Template::Types is a small abstraction to allow to specify template types that can be used in ActionView. When Action Pack is loaded it's replaced with Mime::Type. | ||||
* | | Don't require action_dispatch in ActionView::UrlHelpers | Piotr Sarnacki | 2012-08-28 | 3 | -98/+124 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Use ActionView::Base.logger instead of AC::Base.logger | Piotr Sarnacki | 2012-08-28 | 1 | -1/+1 |
| | | |||||
* | | Add ActionView::Base.default_formats | Piotr Sarnacki | 2012-08-28 | 2 | -1/+4 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Remove Mime::Type translations from Action View | Piotr Sarnacki | 2012-08-28 | 4 | -11/+10 |
| | | | | | | | | | | Action View should not be responsible for translating mime types. Any translation that's needed should be handled at controller level. | ||||
* | | Deprecate mime types lookup in auto_discovery_link_tag | Piotr Sarnacki | 2012-08-28 | 1 | -0/+8 |
| | | | | | | | | | | | | Automatically handling mime types for things other than :rss and :atom is not functionality that justifies dependency on Mime::Type from actionpack. | ||||
* | | Remove comment about getting rid of old AV::Base.new behavior | Piotr Sarnacki | 2012-08-28 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | I've talked to José Valim, who added this comment, and there is no need to remove old API. It's good to have a simple way to instantiate ActionView::Base, by just passing view paths as a first argument, instead of constructing LookupContext and then the Renderer. [ci skip] | ||||
* | | Move action_controller/vendor/html-scanner to action_view | Piotr Sarnacki | 2012-08-28 | 8 | -1/+1757 |
| | | | | | | | | | | | | This is another step in moving Action View's dependencies in Action Pack to Action View itself. Also, HtmlScanner seems to be better suited for views rather than controllers. |