- 20 6月, 2017 1 次提交
-
-
由 Pat Allan 提交于
Plus a couple of related ActionPack patches.
-
- 29 10月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 8月, 2016 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 15 3月, 2015 1 次提交
-
-
由 Thiago Pradi 提交于
-
- 14 6月, 2014 1 次提交
-
-
由 Zuhao Wan 提交于
-
- 03 8月, 2013 1 次提交
-
-
由 Nathan Stitt 提交于
ActionView::Helpers.asset_path is where the logic for javascript_include_tag resides. It takes an extname option for specifying the extension or false to not append it. This exposes that option to javascript_include_tag. Without the option files that didn't end with ".js" would get the extension appended to them. This broke JST templates and other file types that should be interpreted as JavaScript but who's file extension isn't ".js"
-
- 20 6月, 2013 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 01 6月, 2013 1 次提交
-
-
由 kennyj 提交于
Remove link_to_function / button_to_function from ActionView::Helpers::JavascriptHelper were deprecated.
-
- 28 1月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 28 10月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
button_to_function Point the the Unobtrusive JavaScript secion in the JavaScript guide
-
- 09 9月, 2012 1 次提交
-
-
由 Kalys Osmonov 提交于
-
- 08 8月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
We recommend the use of Unobtrusive JavaScript instead. For example: link_to "Greeting", "#", :class => "nav_link" $(function() { $('.nav_link').click(function() { // Some complex code return false; }); }); or link_to "Greeting", '#', onclick: "alert('Hello world!'); return false", class: "nav_link" for simple cases. This reverts commit 3acdd652.
-
- 30 4月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 05 4月, 2012 1 次提交
-
-
由 Andrey A.I. Sitnik 提交于
-
- 12 3月, 2012 1 次提交
-
-
由 benmmurphy 提交于
-
- 14 2月, 2012 1 次提交
-
-
由 Vishnu Atrai 提交于
-
- 24 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 23 8月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 22 8月, 2011 1 次提交
-
-
由 Teng Siong Ong 提交于
-
- 10 6月, 2011 1 次提交
-
-
由 Prem Sichanugrist 提交于
-
- 08 6月, 2011 1 次提交
-
-
由 Paul Gallagher 提交于
* see GH#1553 * allow for the fact that gsub on SafeBuffer does not pass match variables $1, $2 etc to a block
-
- 13 4月, 2011 3 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 28 3月, 2011 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 29 9月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 30 7月, 2010 1 次提交
-
-
由 Rodrigo Dominguez 提交于
[#5179] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 26 7月, 2010 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Add assertion to link_to_function test with block and capture, and more expressive test name [#5179 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 25 7月, 2010 1 次提交
-
-
由 Sebastian A. Espindola 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com> Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 17 3月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-
- 10 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 08 3月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 02 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
Change AV formats so they can delegate to the controller. Now users (or plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details...
-
- 31 1月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
plugin
-
- 11 1月, 2010 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 16 8月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
* request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml".
-
- 22 5月, 2009 1 次提交
-
-
- 09 4月, 2009 1 次提交
-
-
- 08 3月, 2009 1 次提交
-
-
由 Yury Kotlyarov 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-