Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | if ... nil? is more expensive than unless | Milan Dobrota | 2011-09-04 | 1 | -3/+3 | |
|/ | ||||||
* | Use typewriter styling on url_for in documentation | asmega | 2011-08-21 | 1 | -1/+1 | |
| | ||||||
* | Missed a few instances of British English spelling in the last commit | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 | |
| | | | | oh and obviously I meant according to Webster, not Weber | |||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -4/+4 | |
| | | | | | | English to American English(according to Weber) | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-23 | 1 | -10/+10 | |
|\ | ||||||
| * | grammar changes in named routes description and clarity around possibilities ↵ | Matt Jankowski | 2011-06-22 | 1 | -10/+10 | |
| | | | | | | | | for options | |||||
* | | Minor refactor | Santiago Pastorino | 2011-06-23 | 1 | -2/+2 | |
| | | ||||||
* | | Allow additional link relations when using method attribute with link_to | Josh | 2011-06-20 | 1 | -1/+3 | |
|/ | ||||||
* | Add proper fix to `mail_to` helper. | Prem Sichanugrist | 2011-06-08 | 1 | -2/+2 | |
| | | | | | * Fix the problem on manipulating on the `ActiveSupport::SafeBuffer` * Make sure that we run `escape_javascript` on the `String`, to avoid unexpected behavior. | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -6/+6 | |
| | ||||||
* | Documentation fix. Corrected a copy/paste mistake for link_to_if documentation. | Ryan Sandridge | 2011-05-08 | 1 | -1/+1 | |
| | ||||||
* | Replace example hostname with "example.com". | Joost Baaij | 2011-04-21 | 1 | -1/+1 | |
| | | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606. | |||||
* | Fixing more spacing inconsistencies | Matt Duncan | 2011-04-15 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Ryan Bigg | 2011-04-05 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:lifo/docrails: (57 commits) Made the defaults section a little more readable and more to the point, giving a overview of the possibilities. Added information about default values added .'s to headings in the initialization textile page s/ERb/ERB/g (part II) s/ERb/ERB/g Bump up erubis to 2.7.0 Implicit actions named not_implemented can be rendered Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0 default_executable is deprecated since rubygems 1.7.0 Trivial fix to HTTP Digest auth MD5 example Moved Turn activation/dependency to railties fix typo Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH] Add using Turn with natural language test case names if the library is available (which it will be in Rails 3.1) [DHH] require turn only for minitest Use Turn to format all Rails tests and enable the natural language case names Improve docs. pass respond_with options to controller render when using a template for api navigation only try to display an api template in responders if the request is a get or there are no errors when using respond_with with an invalid resource and custom options, the default response status and error messages should be returned ... | |||||
| * | s/ERb/ERB/g | Akira Matsuda | 2011-04-03 | 1 | -1/+1 | |
| | | | | | | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html | |||||
* | | Correct documentation on url_for. It doesn't call to_s, but rather to_param | Ryan Bigg | 2011-04-05 | 1 | -1/+4 | |
|/ | ||||||
* | Be sure to javascript_escape the email address to prevent apostrophes ↵ | Michael Koziarski | 2011-02-08 | 1 | -5/+6 | |
| | | | | | | inadvertently causing javascript errors. This fixes CVE-2011-0446 | |||||
* | Allow customization of form class for button_to | Andrei Bocan | 2011-02-01 | 1 | -3/+13 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Call html_escape in ERB::Util module and don't mix it in in the helpers | Santiago Pastorino | 2010-10-18 | 1 | -5/+6 | |
| | ||||||
* | Refactor a bit this code to add data-confirm and data-disable-with | Santiago Pastorino | 2010-10-11 | 1 | -12/+4 | |
| | ||||||
* | data-disable-with in button_to helper | Paco Guzman | 2010-10-11 | 1 | -0/+6 | |
| | | | | | | [#4993 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | refactoring to use fewer intermediate variables | Aaron Patterson | 2010-10-04 | 1 | -11/+12 | |
| | ||||||
* | cleaning up more crazy! | Aaron Patterson | 2010-10-04 | 1 | -3/+3 | |
| | ||||||
* | deleting more crazy | Aaron Patterson | 2010-10-04 | 1 | -6/+4 | |
| | ||||||
* | dry up some crazy codes | Aaron Patterson | 2010-10-04 | 1 | -8/+6 | |
| | ||||||
* | Performance: refactor convert_options_to_data_attributes. | thedarkone | 2010-09-27 | 1 | -10/+14 | |
| | ||||||
* | Remove dead code. | thedarkone | 2010-09-27 | 1 | -2/+2 | |
| | ||||||
* | Clean up url_for. | thedarkone | 2010-09-27 | 1 | -3/+1 | |
| | ||||||
* | Start cleanup of deprecations in ActionView | Carlos Antonio da Silva | 2010-09-06 | 1 | -6/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Refactor RoutesProxy to avoid using _with_routes in helpers | Piotr Sarnacki | 2010-09-03 | 1 | -3/+5 | |
| | ||||||
* | Fix generating urls with mounted helpers in view context | Piotr Sarnacki | 2010-09-03 | 1 | -1/+3 | |
| | | | | | | | | | | There were actually 2 problems with this one: * script_name was added to options as a string and then it was used in RouteSet#url_for with usage of <<, which was changing the original script_name * the second issue was with _with_routes method. It was called in RoutesProxy to modify _routes in view_context, but url_helpers in views is just delegating it to controller, so another _with_routes call is needed there | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-09-03 | 1 | -1/+1 | |
|\ | ||||||
| * | fix typo(?) | Akira Matsuda | 2010-09-01 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unnecessary code from UrlHelper#link_to. | yury | 2010-09-01 | 1 | -7/+2 | |
|/ | | | | | | convert_options_to_data_attributes always returns not nil stringified html_options [#5445 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix API docs for button_to options | Jaime Iniesta | 2010-08-31 | 1 | -2/+3 | |
| | ||||||
* | Restore consistency with the rest of the doc. | Rémy Coutable | 2010-08-25 | 1 | -2/+2 | |
| | ||||||
* | Fixed a missing simple quote. | Rémy Coutable | 2010-08-25 | 1 | -1/+1 | |
| | ||||||
* | options could be of any kind of Hash (Hash, HashWithIndifferentAccess or ↵ | Santiago Pastorino | 2010-07-21 | 1 | -1/+1 | |
| | | | | OrderedHash) this way we keep the properties of the options passed as an argument | |||||
* | Use capture instead of yield in link_to_unless. | José Valim | 2010-07-21 | 1 | -1/+1 | |
| | | | | [#5162 state:resolved] | |||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | s/escape_once/html_escape/, since html safety is the contract that now says ↵ | Xavier Noria | 2010-06-30 | 1 | -14/+17 | |
| | | | | whether something has to be escaped | |||||
* | url_for no longer escapes HTML, the :escape option is also gone | Xavier Noria | 2010-06-30 | 1 | -16/+5 | |
| | | | | Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc. | |||||
* | Restores the escaping of urls generated from hashes. [#4765 state:resolved] | Andrew White | 2010-06-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | HTML specifications recommend the escaping of urls in web pages, which url_for does by default for string urls and consquently urls generated by path helpers as these return strings. Hashes passed to url_for are not escaped by default and this commit reverses this default so that they are escaped. Undoes the changes of this commit: http://github.com/rails/rails/commit/1b3195b63ca44f0a70b61b75fcf4991cb2fbb944 Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Action View is now titled. | Rizwan Reza | 2010-06-21 | 1 | -1/+1 | |
| | ||||||
* | Added titles and description. | Rizwan Reza | 2010-06-16 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:rails/rails | wycats | 2010-04-26 | 1 | -1/+1 | |
|\ | ||||||
| * | HWIA symbolize_keys now returns a hash so no need to do this anymore | Santiago Pastorino | 2010-04-22 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Allow :remote => false to be passed to link_to | Nicolas Sanguinetti | 2010-04-22 | 1 | -3/+1 | |
|/ | | | | | | | And add tests for `button_to` and `form_tag` which currently behave as expected, so we avoid a regression. Signed-off-by: wycats <wycats@gmail.com> | |||||
* | url_for now works with HashWithIndifferentAccess ht jay [#4391 state:committed] | Santiago Pastorino | 2010-04-21 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | mail_to with :encode => :javascript now outputs safe html | Sam Elliott | 2010-04-16 | 1 | -1/+1 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> |