aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Revert table_name= needs connection now, so just stub table_namekennyj2012-03-071-1/+1
|
* Add config.middleware.api_only!Carlos Antonio da Silva and Santiago Pastorino2012-03-053-4/+42
|
* Merge pull request #5281 from filipeamoreira/patch-1Vijay Dev2012-03-051-1/+1
|\ | | | | Small typo fix
| * Small typo fixFilipe Moreira2012-03-051-1/+1
| |
* | document the shortcut to the root route helper [ci skip]Vijay Dev2012-03-051-0/+1
| | | | | | | | This was implemented in 2ee4dd856d47113625589bc5410b5a6669ea02d5
* | Fix typoSantiago Pastorino2012-03-051-1/+1
|/
* Add a new guide for API-only applicationsJose and Yehuda2012-03-041-0/+277
| | | | | This guide reflects features that have not yet been implemented.
* Now all the models need to explicitly declare the accessible attributesRafael Mendonça França2012-03-041-0/+1
|
* Only add the whitelist_attributes option if ActiveRecord is presentRafael Mendonça França2012-03-043-2/+11
|
* Whitelist all attribute assignment by default.Michael Koziarski2012-03-052-1/+11
| | | | Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible.
* Fix tests, table_name= needs connection now, so just stub table_namePiotr Sarnacki2012-03-041-1/+1
|
* [engines guide] Add more concrete example of conflicts when not using ↵Piotr Sarnacki2012-03-031-1/+1
| | | | isolate_namespace
* Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225)Piotr Sarnacki2012-03-033-5/+18
| | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile)
* remove usages of AS::OrderedHashVishnu Atrai2012-03-031-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-034-18/+61
|\
| * copy edits [ci skip]Vijay Dev2012-03-031-1/+1
| |
| * Made documentation of config.assets.precompile slightly more explicit.Guy Bolton King2012-03-021-1/+3
| | | | | | | | | | | | Having read the previous version of the documentation, I was surprised when a wildcarded CSS pattern in precompile picked up a whole load of SCSS files! I've amended lines 426 onwards to document the behaviour.
| * Improve header hierarchy.Joost Baaij2012-02-291-1/+3
| |
| * Include a comment as to why ETag header should be removed from the response.Joost Baaij2012-02-291-0/+1
| |
| * Changed asset_host config to more specificRahul P. Chaudhari2012-02-291-2/+2
| |
| * Some cleanup on the upgrading guideMike Gunderloy2012-02-281-14/+40
| |
| * Merge pull request #85 from whilefalse/rails_32_engine_upgradeVijay Dev2012-02-281-0/+12
| |\ | | | | | | Added guide to updating engines built in previous versions of Rails
| | * Added guide to updating engines built in previous versions of RailsSteven Anderson2012-02-241-0/+12
| | |
* | | Add release dates to documentationclaudiob2012-03-011-2/+2
| | | | | | | | | | | | Set "March 1, 2012" as the release date for 3.2.2, 3.1.4, 3.0.12
* | | minor edits [ci skip]Vijay Dev2012-02-281-2/+2
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-284-2/+20
|\ \
| * | move the strict validations to an appropriate section and some edits [ci skip]Vijay Dev2012-02-281-14/+12
| | |
| * | copy edits [ci skip]Vijay Dev2012-02-281-1/+1
| | |
| * | Add brief summary of strict validations added in 3.2.Oliver Legg2012-02-271-0/+14
| | |
| * | Correct NullStore cache store name in caching guideToby Matejovsky2012-02-271-1/+1
| | |
| * | document how to create non show paths from an array of parametersFlorent Guilleux2012-02-261-0/+6
| | |
| * | reverted regular expression fixTima Maslyuchenko2012-02-261-2/+2
| | |
| * | Merge branch 'master' of github.com:lifo/docrailsTima Maslyuchenko2012-02-261-1/+1
| |\ \
| | * | layout affects views not methodsRajinder Yadav2012-02-261-1/+1
| | | |
| * | | fixed regular expression in Specifying Constraints sectionTima Maslyuchenko2012-02-261-2/+2
| |/ /
* | | Merge pull request #4284 from mattdbridges/time_calculation_aliasesXavier Noria2012-02-281-6/+12
|\ \ \ | | | | | | | | Added aliases for prev_year, prev_month, and prev_week in Time and Date calculations
| * | | Adding :last_week, :last_month, and :last_year aliases to Time and DateMatt Bridges2012-02-211-6/+12
| | | | | | | | | | | | | | | | core extensions
* | | | ruby19: no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9Akira Matsuda2012-02-272-14/+3
| | | |
* | | | updates the new default pool size in some additional placesXavier Noria2012-02-263-7/+17
| | | |
* | | | let the connection pool of new applications have size 1 rather than 5Xavier Noria2012-02-264-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The majority of Rails applications are multiprocess, people may wonder why rails new generates a default pool of 5, does my application need a connection pool of 5? By generating a default of 1 database.yml is much more clear, and with the comment people know what is the connection pool for, and they know it has to be bigger for multithread apps.
* | | | A guide for upgrading Rails [ci skip]Vijay Dev2012-02-252-0/+169
| |/ / |/| |
* | | 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.