Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | properly escape html to avoid invalid utf8 causing XSS attacks | Aaron Patterson | 2011-08-16 | 2 | -1/+8 |
| | |||||
* | Tags with invalid names should also be stripped in order to prevent | Aaron Patterson | 2011-08-16 | 2 | -1/+8 |
| | | | | XSS attacks. Thanks Sascha Depold for the report. | ||||
* | prevent sql injection attacks by escaping quotes in column names | Aaron Patterson | 2011-08-16 | 4 | -3/+20 |
| | |||||
* | adding security email address | Aaron Patterson | 2011-08-16 | 1 | -2/+1 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | Xavier Noria | 2011-08-16 | 3 | -16/+9 |
|\ | |||||
| * | Use lazy load hooks to set parameter wrapping configuration. This means that ↵ | Jon Leighton | 2011-08-16 | 3 | -16/+9 |
| | | | | | | | | it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint. | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Xavier Noria | 2011-08-16 | 12 | -81/+124 |
|\ \ | |/ |/| | |||||
| * | Fix formatting of active_record_validations_callbacks.textile so guide will ↵ | Jeff Dutil | 2011-08-16 | 1 | -2/+2 |
| | | | | | | | | render properly at http://edgeguides.rubyonrails.org/active_record_validations_callbacks.html#displaying-validation-errors-in-the-view | ||||
| * | document Array#append and Array#prepend methods in AS guide | Vijay Dev | 2011-08-16 | 1 | -0/+24 |
| | | |||||
| * | Document Hash#extract!. | Sebastian Martinez | 2011-08-15 | 2 | -0/+14 |
| | | |||||
| * | Fixed mistakes in layouts/rendering guide about yield | Jacob Mattingley | 2011-08-15 | 1 | -2/+2 |
| | | | | | | | | | | yield(:unspecified_block) actually returns true even if :unspecified_block never exists. This means you can't use the form yield(:unspecified_block) or yield. | ||||
| * | Updates to Asset Pipeline Guide | JESii | 2011-08-15 | 1 | -45/+45 |
| | | | | | | | | | | | | | | | | Grammar/syntax/style changes: 1. Changed all 'we' to 'you' 2. Corrected typos 3. Make consistent styline (e.g., dashes & double-dash usage) 4. Change use of future tense (will...) to present tense (easier to read). | ||||
| * | assets guide - add info about require_directory, minor rephrasings | Vijay Dev | 2011-08-15 | 1 | -5/+7 |
| | | |||||
| * | minor changes in app templates guide | Vijay Dev | 2011-08-15 | 1 | -7/+1 |
| | | |||||
| * | Merge pull request #58 from cameel/fix-set_autoload_path-typo | Kamil Śliwak | 2011-08-14 | 1 | -1/+1 |
| |\ | | | | | | | Fix a typo in 'Configuring Rails Applications' guide | ||||
| | * | Fix a typo in 'Configuring Rails Applications' guide | Kamil Śliwak | 2011-08-15 | 1 | -1/+1 |
| |/ | | | | | - The initializer is called `set_autoload_paths`, not `set_autoload_path`. See https://github.com/rails/rails/blob/master/railties/lib/rails/engine.rb#L506 | ||||
| * | Typo | Raul Murciano | 2011-08-14 | 1 | -1/+1 |
| | | |||||
| * | Action Mailer guide: mention how to use :cc and :bcc parameters. | Raul Murciano | 2011-08-14 | 1 | -0/+2 |
| | | |||||
| * | Action Mailer guide update: the :to parameter now supports both String and ↵ | Raul Murciano | 2011-08-14 | 1 | -2/+2 |
| | | | | | | | | Array values to indicate recipients. | ||||
| * | rephrase how the verbose methods in a migration work | Vijay Dev | 2011-08-14 | 1 | -3/+3 |
| | | |||||
| * | document alias for rails runner | Vijay Dev | 2011-08-14 | 1 | -1/+2 |
| | | |||||
| * | added a few more items in the release notes | Vijay Dev | 2011-08-14 | 1 | -2/+8 |
| | | |||||
| * | fix misleading comment (originally made by Tate Johnson, we lost this commit ↵ | Vijay Dev | 2011-08-14 | 1 | -1/+1 |
| | | | | | | | | while porting to the rails repo) | ||||
| * | Active Model instead of ActiveModel. | Hendy Tanata | 2011-08-14 | 1 | -1/+1 |
| | | |||||
| * | Use fixed-width font where necessary. | Hendy Tanata | 2011-08-14 | 1 | -12/+12 |
| | | |||||
| * | Fix tt tag appearing on 3_1_release_notes guide. | Hendy Tanata | 2011-08-14 | 1 | -1/+1 |
| | | |||||
* | | prefer ends_with? over slicing | Xavier Noria | 2011-08-16 | 1 | -1/+2 |
| | | |||||
* | | AS guide: document in Module#delegate that the method must be public in the ↵ | Xavier Noria | 2011-08-16 | 1 | -1/+3 |
| | | | | | | | | target | ||||
* | | Fix assets tests in railties | Jon Leighton | 2011-08-16 | 2 | -5/+7 |
| | | |||||
* | | Don't reference ActiveRecord::Base in initializers/wrap_parameters.rb. Use ↵ | Jon Leighton | 2011-08-16 | 1 | -5/+7 |
| | | | | | | | | config.active_record instead. This yields about a 20% decrease in startup time because it means that the connection is not created immediately on startup. Of course, this is only useful if you are not going to immediately use the database after startup. | ||||
* | | In 1efd88283ef68d912df215125951a87526768a51, ConnectionAdapters was put ↵ | Jon Leighton | 2011-08-16 | 3 | -14/+26 |
| | | | | | | | | under eager_autoload. Due to the requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user. | ||||
* | | Revert "Merge pull request #2543 from htanata/unused_require_in_ar_test" | Santiago Pastorino | 2011-08-16 | 1 | -0/+1 |
| | | | | | | | | | | This reverts commit 87152f2604e73b218df90befda576f0acfed0bbf, reversing changes made to 0d3615f04c79f6e90d8ab33fdfc920b8faac9cb8. | ||||
* | | Merge pull request #2543 from htanata/unused_require_in_ar_test | Santiago Pastorino | 2011-08-16 | 1 | -1/+0 |
|\ \ | | | | | | | Remove unused require in activerecord/test/cases/attribute_methods_test.rb | ||||
| * | | Remove unused require. | Hendy Tanata | 2011-08-16 | 1 | -1/+0 |
|/ / | |||||
* | | Fix tzinfo require (it broke ↵ | Jon Leighton | 2011-08-16 | 1 | -6/+13 |
| | | | | | | | | test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties) | ||||
* | | Fix wrap_parameters initializer template | Jon Leighton | 2011-08-16 | 1 | -1/+1 |
| | | |||||
* | | Be more lazy about creating time zone objects. Decreases startup time by ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+13 |
| | | | | | | | | about 10%. (#734) | ||||
* | | Don't refer to ActionController::Base in the wrap_parameters initializer - ↵ | Jon Leighton | 2011-08-16 | 3 | -1/+10 |
| | | | | | | | | use config object instead. Cuts about 15% off the load time. (#734) | ||||
* | | Bump arel dependency | Jon Leighton | 2011-08-15 | 1 | -1/+1 |
| | | |||||
* | | Use new SelectManager#source method | Jon Leighton | 2011-08-15 | 2 | -2/+2 |
| | | |||||
* | | Use new SelectManager#projections= method | Jon Leighton | 2011-08-15 | 3 | -4/+4 |
| | | |||||
* | | use update.key instead of update.ast.key. make better use of select manager. | Jon Leighton | 2011-08-15 | 3 | -26/+18 |
| | | |||||
* | | Use a SelectCore rather than a full SelectManager | Jon Leighton | 2011-08-15 | 2 | -4/+6 |
| | | |||||
* | | Refactor building the update manager | Jon Leighton | 2011-08-15 | 4 | -16/+13 |
| | | |||||
* | | Support for multi-table updates with limits, offsets and orders | Jon Leighton | 2011-08-15 | 4 | -2/+77 |
| | | |||||
* | | Support updates with joins. Fixes #522. | Jon Leighton | 2011-08-15 | 5 | -4/+34 |
| | | |||||
* | | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 4 | -0/+20 |
| | | | | | | | | alias for Array#<< [DHH] | ||||
* | | Merge pull request #2539 from arunagw/delegate_expl | Jon Leighton | 2011-08-15 | 3 | -2/+2 |
|\ \ | | | | | | | Delegate expl | ||||
| * | | Requiring delegate. | Arun Agrawal | 2011-08-16 | 2 | -0/+2 |
| | | | |||||
| * | | Removing unnecessary require, solve 'circular require considered harmful' ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+0 |
|/ / | | | | | | | warning. |