Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tiny refactor | Santiago Pastorino | 2011-08-25 | 1 | -4/+7 |
| | |||||
* | Merge pull request #2491 from waynn/fix_symbol | Santiago Pastorino | 2011-08-25 | 1 | -2/+2 |
|\ | | | | | fix destructive stringify_keys for label_tag | ||||
| * | fix destructive stringify_keys for label_tag | Waynn Lue | 2011-08-11 | 1 | -2/+2 |
| | | |||||
* | | Revert "Simplify JavaScriptHelper#escape_javascript" | Santiago Pastorino | 2011-08-24 | 1 | -4/+6 |
| | | | | | | | | | | | | This commit broke the build without any improvement. This reverts commit eb0b71478ad4c37fdc4ec77bf2cf7c6b65dd36c4. | ||||
* | | Simplify JavaScriptHelper#escape_javascript | Daniel Schierbeck | 2011-08-24 | 1 | -7/+6 |
| | | | | | | | | | | | | Use the Linus-style conditional. Also fix the documentation slightly. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | | Ensure regexp and hash key are UTF-8 | Andrew White | 2011-08-23 | 1 | -3/+10 |
| | | |||||
* | | fix escape_javascript for unicode character \u2028. | Teng Siong Ong | 2011-08-21 | 1 | -2/+3 |
| | | |||||
* | | Use typewriter styling on url_for in documentation | asmega | 2011-08-21 | 1 | -1/+1 |
| | | |||||
* | | minor details revised in a gsub | Xavier Noria | 2011-08-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Regexps have a construct to express alternation of characters, which is character classes. In addition to being the most specific idiom to write this pattern, it reads better without the backslashes. Also, it is better not to use a capture if none is needed. As a side-effect of these changes, the gsub is marginally faster, but speed is not the point of this commit. | ||||
* | | Properly escape glob characters. | Aaron Patterson | 2011-08-16 | 1 | -3/+12 |
| | | |||||
* | | We need [] method here. previously it's an array. | Arun Agrawal | 2011-08-13 | 1 | -0/+4 |
| | | |||||
* | | Remove 'parameters_for_url' parameter from 'form_tag' method signature | Gonzalo Rodriguez and Leonardo Capillera | 2011-08-10 | 1 | -4/+4 |
| | | | | | | | | | | If you use that parameter it will end calling to url_for with two arguments, which fails because url_for expects only one | ||||
* | | deprecating process_view_paths | Aaron Patterson | 2011-08-09 | 2 | -1/+3 |
| | | |||||
* | | just use map and case / when rather than modifying the iterating array | Aaron Patterson | 2011-08-09 | 1 | -5/+8 |
| | | |||||
* | | only typecast what we need to typecast | Aaron Patterson | 2011-08-09 | 1 | -11/+9 |
| | | |||||
* | | Favor composition over inheritance. | Aaron Patterson | 2011-08-09 | 1 | -6/+48 |
| | | |||||
* | | Just remove the sort_locals method | Aaron Patterson | 2011-08-09 | 1 | -12/+1 |
| | | |||||
* | | the freeze trick does nothing on arrays used as hash keys. | Aaron Patterson | 2011-08-09 | 1 | -2/+1 |
| | | |||||
* | | use functional style to build a list of template objects | Aaron Patterson | 2011-08-09 | 1 | -9/+12 |
| | | |||||
* | | refactor the optimized build_query a bit | Aaron Patterson | 2011-08-08 | 1 | -8/+3 |
| | | |||||
* | | reduce file stats by improving our dir glob pattern | Aaron Patterson | 2011-08-08 | 1 | -1/+1 |
| | | |||||
* | | hash on the template directory in order to improve cache hits | Aaron Patterson | 2011-08-08 | 1 | -2/+3 |
| | | |||||
* | | use meaningful names with our variables | Aaron Patterson | 2011-08-08 | 1 | -6/+6 |
| | | |||||
* | | use binread to read the files | Aaron Patterson | 2011-08-08 | 1 | -1/+2 |
| | | |||||
* | | be explicit about arguments passed around | Aaron Patterson | 2011-08-08 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #2421 from pivotal-casebook/master | Santiago Pastorino | 2011-08-04 | 1 | -1/+1 |
|\ \ | | | | | | | Simple_format should not edit it in place. (Fixes https://github.com/rails/rails/issues/1980) | ||||
| * | | ActionView::Helpers::TextHelper#simple_format should not change the text in ↵ | Casebook Developer | 2011-08-04 | 1 | -1/+1 |
| | | | | | | | | | | | | place. Now it duplicates it. | ||||
* | | | Merge pull request #2356 from waynn/fix_symbol | Santiago Pastorino | 2011-08-04 | 1 | -4/+4 |
|\ \ \ | |/ / |/| / | |/ | fix stringify_keys destructive behavior for most FormTagHelper functions | ||||
| * | fix stringify_keys destructive behavior for most FormTagHelper functions | Waynn Lue | 2011-08-03 | 1 | -4/+4 |
| | | | | | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355 | ||||
* | | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-01 | 2 | -7/+7 |
|/ | | | | File#to_path and similar. | ||||
* | remove redundant calls to stringify_keys | Waynn Lue | 2011-07-29 | 1 | -2/+2 |
| | |||||
* | Move the cache to a nested hash which performs better than a hash with array ↵ | José Valim | 2011-07-28 | 1 | -11/+17 |
| | | | | as keys. | ||||
* | Rename class method to_path to _to_path and make it explicit that it is an ↵ | José Valim | 2011-07-28 | 1 | -2/+2 |
| | | | | internal method. | ||||
* | Merge pull request #2034 from Casecommons/to_path | José Valim | 2011-07-28 | 2 | -23/+28 |
|\ | | | | | Allow ActiveModel-compatible instances to define their own partial paths | ||||
| * | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 2 | -23/+28 |
| | | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances. | ||||
* | | Improve performance and memory usage for options_for_select with Ruby 1.8.7 | Christos Zisopoulos | 2011-07-27 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #2095 from dgeb/issue-2094 | Aaron Patterson | 2011-07-26 | 1 | -1/+1 |
|\ \ | | | | | | | Fixes overriding of options[:html][:remote] in form_for() (Issue #2094) | ||||
| * | | fixed problem in which options[:html][:remote] would be overridden in ↵ | Dan Gebhardt | 2011-07-15 | 1 | -1/+1 |
| | | | | | | | | | | | | form_for() - fixes #2094 | ||||
* | | | use_sprockets is not used anymore | Santiago Pastorino | 2011-07-26 | 1 | -5/+1 |
| |/ |/| | |||||
* | | Use shorter class-level File methods instead of going through File.stat. | thedarkone | 2011-07-25 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-24 | 5 | -9/+9 |
|\ \ | |||||
| * | | Missed a few instances of British English spelling in the last commit | Oemuer Oezkir | 2011-07-24 | 3 | -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 Oezkir | 2011-07-24 | 4 | -8/+8 |
| | | | | | | | | | | | | | | | | | | English to American English(according to Weber) | ||||
| * | | now the documentation reflects the actual returned value for a missing ↵ | gnagno | 2011-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | translation | ||||
* | | | - added ActionView::PartialRenderer#merge_path_into_partial(path, partial) | Gaston Ramos | 2011-07-24 | 1 | -2/+16 |
| | | | | | | | | | | | | fix issues/1951 | ||||
* | | | checked all .rb files in the project tree for missing magic comments, one ↵ | Xavier Noria | 2011-07-23 | 1 | -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/docrails | Xavier Noria | 2011-07-23 | 3 | -71/+95 |
|\ \ | |||||
| * | | little details seen while doing a pass through what's new in docrails | Xavier Noria | 2011-07-23 | 2 | -7/+7 |
| | | | |||||
| * | | use the doc conventions for arguments in all cases | Ray Baxter | 2011-07-20 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | See https://github.com/lifo/docrails/commit/5c71a4e76897844ab6aeabb581549d981d9768c9#commitcomment-485675 | ||||
| * | | Update form helper documentation to match code. | Paul Battley | 2011-07-19 | 1 | -2/+2 |
| | | | | | | | | | | | | Change d3cfee11 removed the automatically generated object_name_submit id attributes on form submit elements. This makes the documentation match. |