Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 16 | -122/+91 |
| | | | | the update action of resources | ||||
* | decouples the implementation of the inflector from its test suite | Xavier Noria | 2012-02-24 | 2 | -73/+73 |
| | | | | | | | | Trying alternative implementations of the inflections is hard because the suite is coupled with the current one, setting ivars by hand etc. This commit relies on initialize_dup, as long as you maintain that one you can tweak the implementation. | ||||
* | removes the reconnect key from the database.yml generated for MySQL | Xavier Noria | 2012-02-24 | 1 | -12/+0 |
| | | | | | | | | | | The reconnect flag does not play nicely with transactions and so it is of little use in Rails applications. Thus, albeit supported by mysql2, it does not deserve such a prominent place in the generated database.yml, which should be a representative config example. Note that the flag is false by default. Advanced users know from mysql2 docs that the flag is available. | ||||
* | explains why reconnect is false by default in the database.yml generated for ↵ | Xavier Noria | 2012-02-24 | 1 | -1/+10 |
| | | | | MySQL | ||||
* | removes verify_active_connections! | Xavier Noria | 2012-02-24 | 2 | -16/+1 |
| | | | | | | | The method verify_active_connections! was used in the old days (up to 2.1 I think) by the dispatcher to verify the connections, but nowadays we do that in a different way and this method is obsolete. | ||||
* | Merge pull request #5144 from nashby/input-name-nil | Aaron Patterson | 2012-02-24 | 2 | -3/+8 |
|\ | | | | | correct fetching :name option in form fields | ||||
| * | correct fetching :name option in form fields | Vasiliy Ermolovich | 2012-02-23 | 2 | -3/+8 |
| | | |||||
* | | Merge pull request #5143 from mguterl/update_running_unit_tests_doc | Vijay Dev | 2012-02-23 | 1 | -1/+1 |
|\ \ | |/ |/| | Update with new task names for building mysql and postgresql databases | ||||
| * | Update with new task names for building mysql and postgresql databases | Michael Guterl | 2012-02-23 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #5139 from mhfs/remove_next_migration_number | José Valim | 2012-02-23 | 2 | -17/+0 |
|\ | | | | | Remove unused implementation of next_migration_number | ||||
| * | Remove unused implementation of next_migration_number | Marcelo Silveira | 2012-02-23 | 2 | -17/+0 |
| | | |||||
* | | Document the :host option for force_ssl | Andrew White | 2012-02-23 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #5140 from fbuenemann/fix/autoflush-wrong-template | Santiago Pastorino | 2012-02-23 | 2 | -3/+3 |
|\ \ | | | | | | | Move config.autoflush_log to correct template | ||||
| * | | Use consistent whitespace for commented options. | Felix Bünemann | 2012-02-23 | 1 | -1/+1 |
| | | | |||||
| * | | Move config.autoflush_log to correct template. | Felix Bünemann | 2012-02-23 | 2 | -3/+3 |
| |/ | | | | | | | | | | | This accidentally ended up in the development template instead of the production template, where it makes most sense. | ||||
* | | Update documentation for force_ssl - closes #5023. | Andrew White | 2012-02-23 | 2 | -1/+26 |
| | | |||||
* | | SSL should not be disabled by default in any environment. | Pat Allan | 2012-02-23 | 2 | -15/+1 |
|/ | |||||
* | Avoid inspecting the whole route set, closes #1525 | José Valim | 2012-02-23 | 1 | -0/+6 |
| | |||||
* | Merge pull request #5138 from avakhov/remove-unused-global-var | José Valim | 2012-02-23 | 1 | -2/+0 |
|\ | | | | | Remove unused global variable in controller filters test | ||||
| * | Remove unused global variable in controller filters test | Alexey Vakhov | 2012-02-23 | 1 | -2/+0 |
| | | |||||
* | | Merge pull request #5137 from avakhov/remove-skip-filter-block-param | José Valim | 2012-02-23 | 1 | -7/+7 |
|\ \ | |/ |/| | Remove skip_filter block param | ||||
| * | Remove skip_filter block param | Alexey Vakhov | 2012-02-23 | 1 | -7/+7 |
|/ | |||||
* | Merge pull request #5084 from johndouthat/patch-1 | Aaron Patterson | 2012-02-22 | 1 | -2/+1 |
|\ | | | | | Remove reference to rails_legacy_mapper, which isn't compatible with 3.2... | ||||
| * | Remove reference to rails_legacy_mapper, which isn't compatible with 3.2 #5022 | johndouthat | 2012-02-18 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #4998 from fbuenemann/feature/configurable-log-flushing | Aaron Patterson | 2012-02-22 | 3 | -2/+6 |
|\ \ | | | | | | | Make automatic log flushing configurable | ||||
| * | | Always default to flushing enabled | Felix Bünemann | 2012-02-23 | 2 | -2/+2 |
| | | | |||||
| * | | Advertise autoflush option in production template | Felix Bünemann | 2012-02-23 | 1 | -0/+3 |
| | | | |||||
| * | | Make log autoflushing configurable | Felix Bünemann | 2012-02-23 | 2 | -2/+3 |
|/ / | |||||
* | | updates CHANGELOGs to register changes in 002713c | Xavier Noria | 2012-02-22 | 3 | -0/+21 |
| | | |||||
* | | add some tests, yay! | Aaron Patterson | 2012-02-22 | 1 | -0/+31 |
| | | |||||
* | | Merge pull request #5133 from rafaelfranca/fix-build | Aaron Patterson | 2012-02-22 | 1 | -1/+1 |
|\ \ | | | | | | | Only set ActionView configuration inside the on_load block | ||||
| * | | Only set ActionView configuration inside the on_load block | Rafael Mendonça França | 2012-02-22 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #5132 from rafaelfranca/fix-build | Aaron Patterson | 2012-02-22 | 1 | -2/+2 |
|\ \ | | | | | | | Fix routes inspection order | ||||
| * | | Fix routes inspection order | Rafael Mendonça França | 2012-02-22 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #5119 from kennyj/fix_5114 | Aaron Patterson | 2012-02-22 | 1 | -0/+26 |
|\ \ \ | |/ / |/| | | Testcase for GH #5114. | ||||
| * | | Testcase for GH #5114. | kennyj | 2012-02-22 | 1 | -0/+26 |
| | | | |||||
* | | | Merge pull request #5130 from dlee/revised_patch_verb | Xavier Noria | 2012-02-22 | 40 | -151/+402 |
|\ \ \ | | | | | | | | | Add config.default_method_for_update to support PATCH | ||||
| * | | | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 40 | -151/+402 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | | | | Merge pull request #5128 from bogdan/deprecate_rescuable | José Valim | 2012-02-22 | 4 | -37/+13 |
|\ \ \ \ | | | | | | | | | | | AS::Callbacks: deprecate rescuable option | ||||
| * | | | | AS::Callbacks: deprecate rescuable option | Bogdan Gusiev | 2012-02-22 | 4 | -37/+13 |
|/ / / / | |||||
* | | | | format lookup for partials is derived from the format in which the template ↵ | Santiago Pastorino | 2012-02-22 | 11 | -36/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | is being rendered Closes #5025 part 2 | ||||
* | | | | Merge pull request #5124 from ↵ | José Valim | 2012-02-22 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | bquorning/prefer-||-over-'or'-for-boolean-operations Prefer || over 'or' for boolean operations | ||||
| * | | | Prefer || over 'or' for boolean operations | Benjamin Quorning | 2012-02-22 | 1 | -1/+1 |
|/ / / | |||||
* | | | bumping up arel | Aaron Patterson | 2012-02-21 | 1 | -1/+1 |
| | | | |||||
* | | | prepared statements can be disabled | Aaron Patterson | 2012-02-21 | 8 | -30/+56 |
| | | | |||||
* | | | Merge pull request #5118 from castlerock/ordered_options_from_hash | Santiago Pastorino | 2012-02-21 | 1 | -3/+1 |
|\ \ \ | | | | | | | | | ordered_options will work if inherited from Hash, remove OrderedHash usage | ||||
| * | | | ordered_options will work if inherited from Hash, remove OrderedHash usage | Vishnu Atrai | 2012-02-21 | 1 | -3/+1 |
| | | | | |||||
* | | | | more ruby 2.0 respond_to? changes | Aaron Patterson | 2012-02-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | ruby 2.0 makes protected methods return false for respond_to, so pass true ↵ | Aaron Patterson | 2012-02-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | as the second param | ||||
* | | | | fix bad docs from f373f296 [ci skip] | Vijay Dev | 2012-02-21 | 1 | -3/+3 |
| | | | |