aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* removes support for RJS in link_to_functionXavier Noria2011-04-131-44/+9
|
* jQuery is the new defaultXavier Noria2011-04-132-59/+71
|
* Aligning commentsMatt Duncan2011-04-131-1/+1
|
* Fixing distance_of_time_in_words range near 2 daysMatt Duncan2011-04-131-5/+5
|
* Merge branch 'master' into sprocketsJoshua Peek2011-04-128-17/+22
|\
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-121-1/+4
| |\
| | * Merge branch 'master' of github.com:lifo/docrailsRyan Bigg2011-04-056-10/+10
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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 ...
| | * | Correct documentation on url_for. It doesn't call to_s, but rather to_paramRyan Bigg2011-04-051-1/+4
| | | |
| * | | Make csrf_meta_tags use the tag helperJames Robinson2011-04-081-4/+6
| | | | | | | | | | | | | | | | Improved formatting of csrf_helper and improved test coverage
| * | | do not return html safe strings from auto_linkAaron Patterson2011-04-051-2/+2
| | |/ | |/|
| * | s/ERb/ERB/gAkira Matsuda2011-04-036-10/+10
| |/ | | | | | | | | 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
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-303-4/+20
|\| | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * fixes a couple of regexps, the suite showed warnings about themXavier Noria2011-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of things worth mentioning here: - "{" is a metacharacter, should be escaped if it is meant to match a "{". The code worked, though, because the regexp engine is tolerant to this, but issued warnings. - gsub accepts a string as first argument. That's the best idiom to use when your pattern has no metacharacters, since gsub interprets the string as an exact substring to look for, rather than a regexp. The benefit is that your pattern is crystal clear and needs no backslashes.
| * Fix alias_method, add testDavid Heinemeier Hansson2011-03-271-1/+1
| |
| * Allow FormHelper#form_for to specify the :method as a direct option instead ↵David Heinemeier Hansson2011-03-261-2/+13
| | | | | | | | of through the :html hash [DHH]
| * Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() ↵David Heinemeier Hansson2011-03-261-0/+5
| | | | | | | | -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH]
* | Seperate asset directoriesJoshua Peek2011-03-291-1/+3
| |
* | Change back to /assets prefixJoshua Peek2011-03-291-2/+2
| |
* | Only add fingerprints if perform_caching is onJoshua Peek2011-03-291-1/+1
| |
* | Use sprockets helpers if config.use_sprockets is setJoshua Peek2011-03-292-6/+22
| |
* | Tests for SprocketsHelperJoshua Peek2011-03-291-5/+11
| |
* | Update sprockets path generation methodJoshua Peek2011-03-281-1/+1
| |
* | Add SprocketsHelperJoshua Peek2011-03-282-0/+79
| |
* | Remove sprockets exception from main asset helpersJoshua Peek2011-03-282-20/+0
| |
* | Add sprockets md5s to asset tagsJoshua Peek2011-03-222-0/+20
|/
* Improved resolver docs a bitJosé Valim2011-03-191-2/+10
|
* [action_view] docs for FileSystemResolverChris Kowalik2011-03-201-2/+30
|
* [action_view] added custom patterns to template resolverChris Kowalik2011-03-202-24/+55
|
* fixes an issue with number_to_human when converting values which are less ↵Josh Kalderimis2011-03-161-1/+1
| | | | | | than 1 but greater than -1 [#6576 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add additional text to NotImplementedErrors [#6328 state:resolved]Mike Gehard2011-03-121-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Filter params that return nil for to_param and allow through false valuesAndrew White2011-03-091-1/+0
|
* test/unit in ruby trunk adds a new instance variable. YAY!Aaron Patterson2011-03-081-0/+1
|
* more "SSL everywhere" for GitHub URLsAkira Matsuda2011-03-071-1/+1
| | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
* fix typosAkira Matsuda2011-03-071-2/+2
|
* Allow model to be inherited from Hash [#6487 state:resolved]Alexander Uvarov2011-03-061-3/+4
| | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Action Pack typos.R.T. Lechow2011-03-056-9/+9
|
* Add an option to FormBuilder to omit hidden field with idAlexander Uvarov2011-03-041-2/+22
| | | | | | [#4551 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* javascript_include_tag shouldn't raise if you register an expansion key with ↵Santiago Pastorino2011-02-282-2/+2
| | | | nil value
* merges docrailsXavier Noria2011-02-182-1/+8
|\
| * Fix Typos: remove several occurences of the theNicholas Rowe2011-02-171-1/+1
| |
| * Added RDoc info for accepted options for simple_format in TextHelper.Steve Schwartz2011-02-151-0/+7
| |
* | Add Date#rfc3339 and Date#iso8601 to ASSantiago Pastorino2011-02-131-0/+1
| |
* | Allow for the format of time_tag in AP to be changed via an option argument.Josh Kalderimis2011-02-121-3/+5
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Added time_tag helper to AP for HTML5 time tag [#5919 state:resolved]Sjoerd Andringa2011-02-122-1/+20
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Applied changes to stylesheet_link_tag from javascript_include_tag which ↵Josh Kalderimis2011-02-132-14/+15
| | | | | | | | corrects issues with ordering and duplicates.
* | This corrects two issues with javascript_include_tag, the order at which ↵Josh Kalderimis2011-02-131-4/+23
| | | | | | | | | | | | | | | | they are expanded, and removing duplicates. When individual js assets are specified, they will override the order of the same asset specified in an expansion. [#5938 state:resolved]
* | Add block support to button_tag helperTom Stuart2011-02-121-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per the HTML 4.01 spec: Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities: the BUTTON element may have content. For example, a BUTTON element that contains an image functions like and may resemble an INPUT element whose type is set to "image", but the BUTTON element type allows content. Since rich content is the main purpose of the <button> element, it makes sense for the button_tag helper to accept a block. http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON http://dev.w3.org/html5/spec/the-button-element.html#the-button-element Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
* | Make type="submit" the default for button_tag helperTom Stuart2011-02-121-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | "submit" is the default value of the <button> element's type attribute according to the HTML 4.01 and the HTML5 draft specs, so if button_tag is going to have a default, type="submit" is a more sensible choice than type="button". http://www.w3.org/TR/html401/interact/forms.html#adef-type-BUTTON http://dev.w3.org/html5/spec/the-button-element.html#attr-button-type Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
* | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-103-20/+40
| | | | | | | | | | | | the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: José Valim <jose.valim@gmail.com>
* | Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵José Valim2011-02-103-42/+20
| | | | | | | | | | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930.