Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge pull request #8497 from acapilleri/conditional_cache | Rafael Mendonça França | 2012-12-14 | 1 | -12/+24 | |
|\ \ \ | | | | | | | | | | | | | Removed :if / :unless conditions to fragment cache in favour of *cache_i... | |||||
| * | | | Removed :if and :unless from fragment cache option in favour of | Angelo capilleri | 2012-12-14 | 1 | -12/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cache_if(condition, option, &block) and cache_unless(condition, option, &block). In the PR #8371 was introduced conditional options :if and :unless in the cache method. Example: <%= cache @model, if: some_condition(@model) do %> ... <%end%> This is a good feature but *cache_if* and and *cache_unless* are more concise and close to the standard of rails view helpers (ex: link_to_if and link_to_unless). Example: <%= cache_if condition, @model do %> ... <%end%> | |||||
* | | | | Add missing require. | Rafael Mendonça França | 2012-12-13 | 2 | -0/+3 | |
|/ / / | | | | | | | | | | | | | I was trying to use those files without Rails and that require was missing. | |||||
* / / | Remove deprecation message from Action Pack | Carlos Antonio da Silva | 2012-12-11 | 1 | -1/+1 | |
|/ / | | | | | | | | | Related to the deprecation of Time.utc_time in favor of Time.utc, in 48583f8bf74d1cefefea3cd6591bd546a9eaff6c. | |||||
* / | Revert "API reader should look elsewhere for helper instructions" | Vijay Dev | 2012-12-09 | 1 | -24/+0 | |
|/ | | | | | | | | | This reverts commit ba2d867b2961b5ef72aad353c2d647b04654cbe3. Reason: https://github.com/lifo/docrails/commit/ba2d867b2961b5ef72aad353c2d647b04654cbe3#commitcomment-2276670 [ci skip] | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-12-08 | 2 | -2/+40 | |
|\ | ||||||
| * | API reader should look elsewhere for helper instructions | Thiago Pinto | 2012-12-06 | 1 | -0/+24 | |
| | | ||||||
| * | complementary options guidelines for f.file_field and file_field_tag | Thiago Pinto | 2012-12-06 | 2 | -0/+8 | |
| | | ||||||
| * | adding example for f.file_input | Thiago Pinto | 2012-12-06 | 1 | -0/+3 | |
| | | ||||||
| * | adding example for f.file_input | Thiago Pinto | 2012-12-06 | 1 | -0/+3 | |
| | | ||||||
| * | correct bad jquery syntax | Thiago Pinto | 2012-12-06 | 1 | -2/+2 | |
| | | ||||||
* | | Allow fragment cache to accept :if and :unless options | Fabrizio Regini | 2012-12-05 | 1 | -1/+13 | |
|/ | | | | [Stephen Ausman + Fabrizio Regini] | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-12-04 | 13 | -263/+228 | |
|\ | | | | | | | | | Conflicts: guides/source/migrations.md | |||||
| * | copy edits [ci skip] | Vijay Dev | 2012-12-04 | 4 | -27/+18 | |
| | | ||||||
| * | Cleans and removes 'Examples' tag [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -2/+0 | |
| | | ||||||
| * | Cleans and removes useless 'Examples' tag [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -48/+43 | |
| | | ||||||
| * | Add documentation to AssetTagHelper#image_alt [ci skip] | Florent Guilleux | 2012-12-01 | 1 | -0/+3 | |
| | | ||||||
| * | Fixes wrong typo on FormHelper [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -1/+1 | |
| | | ||||||
| * | Cleans documentation from Helpers [ci skip] | Alvaro Pereyra | 2012-12-01 | 5 | -121/+98 | |
| | | ||||||
| * | Improves documentation of Capture helper [ci skip] | Alvaro Pereyra | 2012-12-01 | 2 | -14/+13 | |
| | | ||||||
| * | Removes :nodoc: tag on AtomFeedHelper [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -3/+3 | |
| | | ||||||
| * | Removes unneeded 'Example' tags and whitespaces [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -45/+42 | |
| | | ||||||
| * | nodoc AD & AV railties classes | Carlos Duclos | 2012-12-01 | 1 | -1/+1 | |
| | | ||||||
| * | Remove :nodoc from SanitizeHelper module [ci skip] | HPNeo | 2012-12-01 | 1 | -1/+1 | |
| | | ||||||
| * | Removes :nodoc: label [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -1/+1 | |
| | | ||||||
| * | Improves documentation on favicon_link_tag | Alvaro Pereyra | 2012-12-01 | 1 | -14/+16 | |
| | | ||||||
| * | Update documentation for javascript_include_tag [ci skip] | HPNeo | 2012-12-01 | 1 | -10/+13 | |
| | | ||||||
* | | Override <%== to always behave as literal text rather than toggling based on ↵ | Jeremy Kemper | 2012-12-03 | 1 | -0/+11 | |
| | | | | | | | | whether escaping is enabled. Fixes that existing plaintext email templates using <%== unexpectedly flipped to *escaping* HTML when #8235 was merged. | |||||
* | | More descriptive error when rendering a partial with `:layout => true` | Yves Senn | 2012-12-02 | 1 | -1/+1 | |
|/ | ||||||
* | added examples when options is string | Takehiro Adachi | 2012-11-29 | 1 | -3/+9 | |
| | ||||||
* | Cleanup CacheHelper changes allowing opt-out of cache digests | Drew Ulmer | 2012-11-27 | 1 | -2/+2 | |
| | | | | | | | | | | Instead of deleting the skip_digest option flag, this changes the method to merely check the key. This change is because of a discussion in this thread: https://github.com/rails/rails/pull/8317 This commit also makes #fragment_name_with_digest private due to its functionality being subsumed by #cache_fragment_name. | |||||
* | No sort Hash options in #grouped_options_for_select | Sergey Kojin | 2012-11-27 | 1 | -6/+4 | |
| | ||||||
* | unshift html-scanner into $LOAD_PATH rather than append | Akira Matsuda | 2012-11-27 | 1 | -1/+1 | |
| | ||||||
* | Add explicit opt-out for fragment cache digesting | Drew Ulmer | 2012-11-25 | 1 | -1/+23 | |
| | | | | | | | | | This add support for sending an explicit opt-out of the "Russian-doll" cache digest feature on a case-by-case basis. This is useful when cache- expiration needs to be performed manually and it would be otherwise difficult to know the exact name of a digested cache key. More information: https://github.com/rails/cache_digests/pull/16 | |||||
* | Merge pull request #8306 from senny/documentation_for_hidden_field_id | Carlos Antonio da Silva | 2012-11-24 | 1 | -0/+5 | |
|\ | | | | | Document :hidden_field_id option for fields_for [ci skip] | |||||
| * | document :hidden_field_id option for fields_for | Yves Senn | 2012-11-24 | 1 | -0/+5 | |
| | | ||||||
* | | Remove private partial/template renderer methods | Carlos Antonio da Silva | 2012-11-21 | 3 | -14/+3 | |
|/ | | | | | | Since now these objects are not cached anymore, there's no need to have these private methods, just instantiate each of them in the necessary place. | |||||
* | render every partial with a new `PartialRenderer`. | Yves Senn | 2012-11-19 | 1 | -2/+2 | |
| | | | | | | | | This resolves issues when rendering nested partials. Previously the `PartialRenderer` was reused which led to situations where the state of the renderer was reset. Closes #8197 | |||||
* | Introduce `ActionView::Template::Handlers::ERB.escape_whitelist`. | Joost Baaij | 2012-11-16 | 1 | -0/+5 | |
| | | | | | | | | | | | This is a list of mime types where template text is not html escaped by default. It prevents `Jack & Joe` from rendering as `Jack & Joe` for the whitelisted mime types. The default whitelist contains text/plain. This follows a whitelist approach where plain text templates are not escaped, and all the others (json, xml) are. The mime type is assumed to be set by the abstract controller. | |||||
* | Merge pull request #8222 from marcandre/avoid_slash | Rafael Mendonça França | 2012-11-14 | 1 | -1/+1 | |
|\ | | | | | Avoid using Integer#/, as it is redefined by the 'mathn' stdlib | |||||
| * | Avoid using Integer#/, as it is redefined by the 'mathn' stdlib | Marc-Andre Lafortune | 2012-11-14 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #8218 from DawidJanczak/form-tag-doc | Carlos Antonio da Silva | 2012-11-14 | 1 | -1/+1 | |
|/ | | | | | | | [ci skip] Correct examples for form_tag helper. Conflicts: actionpack/lib/action_view/helpers/form_tag_helper.rb | |||||
* | Merge pull request #8151 from nashby/forwardable | Carlos Antonio da Silva | 2012-11-09 | 1 | -20/+2 | |
|\ | | | | | delegate PathSet's enumerator methods | |||||
| * | delegate PathSet's enumerator methods | Vasiliy Ermolovich | 2012-11-09 | 1 | -20/+2 | |
| | | ||||||
* | | Fix message about include_blank option. | Steve Klabnik + Katrina Owen | 2012-11-09 | 1 | -1/+1 | |
|/ | | | | | See https://github.com/rails/rails/commit/cb7d19b66badfbd1846c195913419c331701074e#commitcomment-2127148. | |||||
* | Support :multiple option on input tags with :index | Daniel Fox, Grant Hutchins & Trace Wax | 2012-11-02 | 2 | -6/+4 | |
| | | | | | 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. | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-11-03 | 20 | -361/+361 | |
|\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md | |||||
| * | Hash Syntax to 1.9 related changes | AvnerCohen | 2012-10-29 | 20 | -346/+346 | |
| | | ||||||
| * | fix error in AssertTagHelper documentation [ci skip] | Cesar Carruitero | 2012-10-21 | 1 | -5/+5 | |
| | | ||||||
| * | update AssetTagHelper documentation [ci skip] | Cesar Carruitero | 2012-10-21 | 1 | -21/+21 | |
| | |