aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* fixed regular expression in Specifying Constraints sectionTima Maslyuchenko2012-02-261-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-251-0/+18
|\ | | | | | | | | Conflicts: actionmailer/CHANGELOG.md
| * copy-edits [ci skip]Vijay Dev2012-02-251-10/+8
| |
| * Added database pooling sub-section to the 'configuring' guideCynical Grinch2012-02-211-0/+20
| |
* | Update changelogs with rails 3.0-stable branch infoPaco Guzman2012-02-251-1/+51
| |
* | put and patch both are allowed for updateArun Agrawal2012-02-251-1/+7
| |
* | fixes a test: rake routes now includes PATCH for resourcesXavier Noria2012-02-241-0/+1
| |
* | consistently mention first patch, then putXavier Noria2012-02-245-16/+16
| | | | | | | | | | | | There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates.
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-248-39/+4
| | | | | | | | the update action of resources
* | removes the reconnect key from the database.yml generated for MySQLXavier Noria2012-02-241-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 Noria2012-02-241-1/+10
| | | | | | | | MySQL
* | Use consistent whitespace for commented options.Felix Bünemann2012-02-231-1/+1
| |
* | Move config.autoflush_log to correct template.Felix Bünemann2012-02-232-3/+3
| | | | | | | | | | | | This accidentally ended up in the development template instead of the production template, where it makes most sense.
* | Always default to flushing enabledFelix Bünemann2012-02-232-2/+2
| |
* | Advertise autoflush option in production templateFelix Bünemann2012-02-231-0/+3
| |
* | Make log autoflushing configurableFelix Bünemann2012-02-232-2/+3
| |
* | updates CHANGELOGs to register changes in 002713cXavier Noria2012-02-221-0/+5
| |
* | Add config.default_method_for_update to support PATCHDavid Lee2012-02-2212-36/+107
|/ | | | | | | | | | | | | | | | 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 branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-186-50/+270
|\
| * fix some typos [ci skip]Vijay Dev2012-02-181-3/+3
| |
| * Documenting the :inverse_of option for associationsMike Gunderloy2012-02-181-0/+99
| |
| * Do get it right this time. Fixing the documentation around :dependent => ↵Aditya Sanghi2012-02-181-5/+5
| | | | | | | | :restrict option
| * Add note about Rails 4.0 changesAditya Sanghi2012-02-181-0/+4
| |
| * Add a note about :dependent => :restrict on has_one and has_many's optionsAditya Sanghi2012-02-181-0/+2
| |
| * [engines guide] basic revision/review workRyan Bigg2012-02-161-31/+89
| |
| * [engines guide] Clean up explanation for routing methodsRyan Bigg2012-02-161-5/+17
| |
| * [engines guide] Elaborate on isolate_namespace functionalityRyan Bigg2012-02-161-1/+7
| |
| * update engines guide to explicitly reference relative-to-engine-root-path ↵Ryan Bigg2012-02-161-1/+1
| | | | | | | | for db/seeds.rb
| * [engines guide] Revise draft of guide, add testing, assets and dependencies ↵Ryan Bigg2012-02-161-25/+63
| | | | | | | | sections
| * Rails::Engine docs should use helper method, not helpersRyan Bigg2012-02-161-1/+1
| |
| * fix spacer template exampleSergey Nartimov2012-02-121-1/+1
| |
| * Change AR validation guide to remove ordered hash mention related to AMo::ErrorsCarlos Antonio da Silva2012-02-091-1/+1
| |
| * Fixed styles when browser is narrower than 69em.Jeff Dickey2012-02-091-0/+1
| |
* | Correctly print names of non-timestamped migrations with db:migrate:statusPeter Mitchell2012-02-171-1/+49
| |
* | Fix tests, Rails.env may be different on CIPiotr Sarnacki2012-02-161-2/+5
| |
* | Refactor Rails::Console to make it easier to test and add tests for itPiotr Sarnacki2012-02-162-25/+130
| |
* | Allow to set custom console type with Rails.application.config.console=Piotr Sarnacki2012-02-164-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds ability to set custom console if you want to use something other than IRB. Previously the hack that people used was: silence_warnings do require 'pry' IRB = Pry end which is not the best way to customize things.
* | Remove console --irb deprecation noticePiotr Sarnacki2012-02-161-1/+0
| |
* | CSS fix for guides. Closing #5028 [ci skip]Vijay Dev2012-02-151-1/+1
| | | | | | | | | | | | | | In Ubuntu Chrome, in the last lines of code blocks, the underscore isn't visible. Increasing the line height slightly seems to fix this. This problem doesn't exist in Firefox even on Ubuntu. Too lazy to test in any other OS-browser combo :)
* | "Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216Philip Arndt2012-02-151-1/+1
| |
* | remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-141-1/+0
| |
* | Add HTML5 input[type="date"] helperOlek Janiszewski2012-02-121-3/+5
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-093-16/+9
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb
| * Clean up some wording.Ben Orenstein2012-02-081-2/+2
| |
| * Fix typo.Ben Orenstein2012-02-081-1/+1
| |
| * Stop referring to Atom as "ATOM"Tom Stuart2012-02-052-3/+3
| | | | | | | | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom
| * Update fixtures testing helpAmro Mousa2012-02-051-11/+4
| |
* | Replaced OrderedHash with Hash for ruby 1.9 seriesUddhava2012-02-091-2/+1
| |
* | Merge pull request #4878 from vijaydev/ordinal-2072Xavier Noria2012-02-071-1/+16
|\ \ | | | | | | PR #2072 with docs
| * | Document Integer#ordinal available in PR #2072.Vijay Dev2012-02-041-1/+16
| | | | | | | | | | | | Also remove an unasserted line in the tests.