aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* There is no need to be destructive with the passed-in options.thedarkone2011-07-282-6/+15
| | | | This fixes a bug that is caused by Resource/SingletonResource mangling resource options when using inline "multi"-resource declarations.
* Merge pull request #2243 from dmathieu/commentXavier Noria2011-07-241-0/+1
|\ | | | | Help the next guy with explanations - See bb3b3e306
| * help the next guy with explanations - See bb3b3e306Damien Mathieu2011-07-241-0/+1
| |
* | Use top level Rails constantAndrew White2011-07-241-2/+2
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-247-11/+11
|\ \ | |/ |/|
| * Missed a few instances of British English spelling in the last commitOemuer Oezkir2011-07-243-3/+3
| | | | | | | | 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 Oezkir2011-07-246-10/+10
| | | | | | | | | | | | English to American English(according to Weber)
| * now the documentation reflects the actual returned value for a missing ↵gnagno2011-07-231-1/+1
| | | | | | | | translation
* | Merge pull request #2233 from gramos/fix-issue-1951-masterAaron Patterson2011-07-232-2/+30
|\ \ | | | | | | Fix issue 1951 master Namespaced model partial_path is wrong in namespaced controllers
| * | - added ActionView::PartialRenderer#merge_path_into_partial(path, partial)Gaston Ramos2011-07-242-3/+17
| | | | | | | | | | | | fix issues/1951
| * | - added test case for issue:Gaston Ramos2011-07-241-0/+14
| | | | | | | | | | | | | | | https://github.com/rails/rails/issues/1951 Namespaced model partial_path is wrong in namespaced controllers
* | | just use normal ruby for stubbingAaron Patterson2011-07-231-5/+3
|/ /
* | Merge pull request #2228 from Empact/helper_tags_in_mailersAaron Patterson2011-07-232-1/+2
|\ \ | | | | | | Simple fix to the NoMethodError noted in #2177.
| * | Simple fix to the NoMethodError noted in #2177.Ben Woosley2011-07-232-1/+2
| | | | | | | | | Unfortunately #respond_to?(:controller) won't work as suggested, nor will respond_to?(:params), as #controller is present and #params is delegated to #controller. #delegate makes respond_to? return true regardless whether the target responds to it.
* | | rake assets:precompile should always perform caching - Closes #2199Damien Mathieu2011-07-241-0/+1
|/ /
* / checked all .rb files in the project tree for missing magic comments, one ↵Xavier Noria2011-07-231-0/+2
|/ | | | | | | | | | | | | | was missing Came with this one-liner for this: find . -name '*.rb' | \ xargs chardet | \ grep -v ascii | \ cut -d: -f1 -s | \ xargs -n1 ruby -0777 -ne 'puts $FILENAME if $_ !~ /#.*coding:\s*utf/i' Welcome $_.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-233-71/+95
|\
| * little details seen while doing a pass through what's new in docrailsXavier Noria2011-07-232-7/+7
| |
| * use the doc conventions for arguments in all casesRay Baxter2011-07-201-3/+3
| | | | | | | | | | See https://github.com/lifo/docrails/commit/5c71a4e76897844ab6aeabb581549d981d9768c9#commitcomment-485675
| * Update form helper documentation to match code.Paul Battley2011-07-191-2/+2
| | | | | | | | Change d3cfee11 removed the automatically generated object_name_submit id attributes on form submit elements. This makes the documentation match.
| * reword select_date's behaviour clearly when an incomplete options array is ↵Vijay Dev2011-07-201-3/+3
| | | | | | | | passed
| * minor corrections in form helpers guide and api docsVijay Dev2011-07-201-2/+2
| |
| * examples for telephone_field, url_field and email_fieldRay Baxter2011-07-171-0/+12
| |
| * document options to search_fieldRay Baxter2011-07-171-1/+22
| |
| * use correct in descriptionRay Baxter2011-07-171-1/+1
| |
| * we're talking about days here, not hoursRay Baxter2011-07-171-1/+1
| |
| * wording between select_second, select_minute andRay Baxter2011-07-171-2/+2
| | | | | | select_hour should be consistent and correct
| * fix typoRay Baxter2011-07-171-1/+1
| |
| * make documentation agree with test expectations andRay Baxter2011-07-171-2/+2
| | | | | | | | | | | | behaviour See: test_select_date_with_incomplete_order in actionpack/test/template/date_helper_test.rb
| * document that second tags are also returned by defaultRay Baxter2011-07-161-1/+1
| |
| * there is no Time.today method, use Time.nowRay Baxter2011-07-161-2/+2
| |
| * remove stray characterRay Baxter2011-07-161-1/+1
| |
| * disambiguate uses of post/POST by using "article"Ray Baxter2011-07-161-28/+28
| | | | | | | | for the related variable passed to date_select, time_select and datetime_select
| * clarify that classes that include DateHelper canRay Baxter2011-07-161-2/+2
| | | | | | also manipulate times
| * clarify that DateTime objects are allowed arguments Ray Baxter2011-07-161-1/+1
| | | | | | to distance_of_time_in_words
| * use minute instead of second in description of select_minuteRay Baxter2011-07-161-2/+2
| |
| * show correct helper in descriptionRay Baxter2011-07-161-1/+1
| |
| * use 'hour' instead of 'minutes' and 'second' for select_hourRay Baxter2011-07-161-2/+2
| |
| * Revert "Fix wildcard route code examples."Vijay Dev2011-07-151-2/+2
| | | | | | | | | | | | This reverts commit 0894d73c7552a4c7d576b7d3692c6a18faadd273. Reason: CHANGELOGs should not be changed in docrails.
| * Fix wildcard route code examples.Hendy Tanata2011-07-151-2/+2
| | | | | | | | Should be "match" instead of "map".
| * Documentation fixes for rendering partialsOlek Janiszewski2011-07-091-20/+11
| |
* | use rake tasks to set the default environment variables. fixes #2126Aaron Patterson2011-07-211-10/+10
| |
* | Check Accept and Content-Type headers before evaluating them in xhr ↵ogeidix2011-07-192-1/+8
| | | | | | | | | | | | requests. Closes #2119 An xhr request must have an "Accept" or "Content-type" header in order to be considered a request with valid_accept_header.
* | add entry for submit helper change removing object_name_idVijay Dev2011-07-201-0/+2
| |
* | Ensure that status codes are logged properlyJesse Storimer2011-07-182-4/+23
| | | | | | | | | | | | Needed to move AC::Metal::Instrumentation before AM::Metal::Rescue so that status codes rendered from rescue_from blocks are logged properly.
* | make tzinfo a development dependencyAaron Patterson2011-07-181-1/+2
| |
* | Merge pull request #2124 from arunagw/render_partial_invalid_check_fixSantiago Pastorino2011-07-171-2/+1
|\ \ | | | | | | Checking with to_s. As regexp fail with 1.8.7
| * | Checking with to_s. As regexp fail with 1.8.7Arun Agrawal2011-07-181-2/+1
| | |
* | | Don't do remove_possible_method when delegate is used. Two reasons: 1) ↵Jon Leighton2011-07-181-1/+2
|/ / | | | | | | warnings should be shown, and fixed at the source and 2) the code is slow. Fixes #1937.
* | Merge pull request #2046 from sikachu/master-test_fixSantiago Pastorino2011-07-171-2/+6
|\ \ | | | | | | Fix a wrong assertion on url_helper_test, and add missing `#html_safe?` a