aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * 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-191-1/+2
| | | | | | | | | | | | 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.
* | Ensure that status codes are logged properlyJesse Storimer2011-07-181-4/+4
| | | | | | | | | | | | Needed to move AC::Metal::Instrumentation before AM::Metal::Rescue so that status codes rendered from rescue_from blocks are logged properly.
* | 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 #2018 from bhus/render_partial_invalid_checkSantiago Pastorino2011-07-171-0/+6
|\ \ | | | | | | Render partial invalid check
| * | Added view template invalid name check, along with tests. No merges in commit.huskins2011-07-131-0/+6
| | |
* | | indeed, if we are going to remove everything in public/assets on ↵Xavier Noria2011-07-171-4/+1
| | | | | | | | | | | | assets:clean, just do that
* | | if we are cleaning all files, we are cleaning all gz filesXavier Noria2011-07-171-1/+0
| | |
* | | Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-7/+7
|/ / | | | | | | | | | | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* | assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-2/+2
| | | | | | | | tmp/assets_cache between deploys.
* | Grouped select helperAndrew Radev2011-07-111-2/+12
| | | | | | | | FormBuilder#select now works with a nested data structure.
* | Merge pull request #2009 from vatrai/autoload-todo-newJosé Valim2011-07-118-15/+7
|\ \ | | | | | | TODO fix explicitly loading exceptations, autoload removed
| * | TODO fix explicitly loading exceptations, autoload removedVishnu Atrai2011-07-118-15/+7
| | |
* | | Require assets in all environments by default and provide a way to opt-out ↵José Valim2011-07-111-2/+7
| | | | | | | | | | | | from uglifier.
* | | Include TagHelper within AssetTagHelperSam Pohlenz2011-07-101-0/+2
| |/ |/|
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-094-5/+5
|\ \
| * | find(:all) => allAkira Matsuda2011-07-084-5/+5
| | |
* | | config should always be an AS::InheritableOptions object. Closes #1992Santiago Pastorino2011-07-081-1/+1
| |/ |/|
* | use Zlib.crc2 rather that bytes.sum, as per Aaron's suggestionXavier Noria2011-07-081-2/+2
| | | | | | | | | | | | That integer is rather irrelevant, the only thing that matters is that it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times faster than bytes.sum, so use that.
* | Move config.default_asset_host_protocol to the railtie.José Valim2011-07-072-6/+3
| |
* | Using the sum of bytes instead the hash of the path when replacing the ↵Albert Callarisa Roca2011-07-081-1/+2
| | | | | | | | wildcard of the assets path because in ruby 1.9 is not consistent
* | Give higher priority to assets.cache_store.José Valim2011-07-061-1/+1
| |
* | Make compressors lazily load.José Valim2011-07-062-2/+25
| |
* | Remove stream at the class level.José Valim2011-07-061-38/+5
|/ | | | | | This is because only template rendering works with streaming. Setting it at the class level was also changing the behavior of JSON and XML responses, closes #1337.