Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Now all the models need to explicitly declare the accessible attributes | Rafael Mendonça França | 2012-03-04 | 1 | -0/+1 | |
| | | | ||||||
* | | | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 3 | -2/+11 | |
| | | | ||||||
* | | | Whitelist all attribute assignment by default. | Michael Koziarski | 2012-03-05 | 2 | -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_name | Piotr Sarnacki | 2012-03-04 | 1 | -1/+1 | |
| | | | ||||||
* | | | [engines guide] Add more concrete example of conflicts when not using ↵ | Piotr Sarnacki | 2012-03-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | isolate_namespace | |||||
* | | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 3 | -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::OrderedHash | Vishnu Atrai | 2012-03-03 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-03 | 4 | -18/+61 | |
|\ \ | ||||||
| * | | copy edits [ci skip] | Vijay Dev | 2012-03-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | Made documentation of config.assets.precompile slightly more explicit. | Guy Bolton King | 2012-03-02 | 1 | -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 Baaij | 2012-02-29 | 1 | -1/+3 | |
| | | | ||||||
| * | | Include a comment as to why ETag header should be removed from the response. | Joost Baaij | 2012-02-29 | 1 | -0/+1 | |
| | | | ||||||
| * | | Changed asset_host config to more specific | Rahul P. Chaudhari | 2012-02-29 | 1 | -2/+2 | |
| | | | ||||||
| * | | Some cleanup on the upgrading guide | Mike Gunderloy | 2012-02-28 | 1 | -14/+40 | |
| | | | ||||||
| * | | Merge pull request #85 from whilefalse/rails_32_engine_upgrade | Vijay Dev | 2012-02-28 | 1 | -0/+12 | |
| |\ \ | | | | | | | | | Added guide to updating engines built in previous versions of Rails | |||||
| | * | | Added guide to updating engines built in previous versions of Rails | Steven Anderson | 2012-02-24 | 1 | -0/+12 | |
| | | | | ||||||
* | | | | Add release dates to documentation | claudiob | 2012-03-01 | 1 | -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 Dev | 2012-02-28 | 1 | -2/+2 | |
|/ / | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-28 | 4 | -2/+20 | |
|\ \ | ||||||
| * | | move the strict validations to an appropriate section and some edits [ci skip] | Vijay Dev | 2012-02-28 | 1 | -14/+12 | |
| | | | ||||||
| * | | copy edits [ci skip] | Vijay Dev | 2012-02-28 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add brief summary of strict validations added in 3.2. | Oliver Legg | 2012-02-27 | 1 | -0/+14 | |
| | | | ||||||
| * | | Correct NullStore cache store name in caching guide | Toby Matejovsky | 2012-02-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | document how to create non show paths from an array of parameters | Florent Guilleux | 2012-02-26 | 1 | -0/+6 | |
| | | | ||||||
| * | | reverted regular expression fix | Tima Maslyuchenko | 2012-02-26 | 1 | -2/+2 | |
| | | | ||||||
| * | | Merge branch 'master' of github.com:lifo/docrails | Tima Maslyuchenko | 2012-02-26 | 1 | -1/+1 | |
| |\ \ | ||||||
| | * | | layout affects views not methods | Rajinder Yadav | 2012-02-26 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | fixed regular expression in Specifying Constraints section | Tima Maslyuchenko | 2012-02-26 | 1 | -2/+2 | |
| |/ / | ||||||
* | | | Merge pull request #4284 from mattdbridges/time_calculation_aliases | Xavier Noria | 2012-02-28 | 1 | -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 Date | Matt Bridges | 2012-02-21 | 1 | -6/+12 | |
| | | | | | | | | | | | | | | | | core extensions | |||||
* | | | | ruby19: no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9 | Akira Matsuda | 2012-02-27 | 2 | -14/+3 | |
| | | | | ||||||
* | | | | updates the new default pool size in some additional places | Xavier Noria | 2012-02-26 | 3 | -7/+17 | |
| | | | | ||||||
* | | | | let the connection pool of new applications have size 1 rather than 5 | Xavier Noria | 2012-02-26 | 4 | -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 Dev | 2012-02-25 | 2 | -0/+169 | |
| |/ / |/| | | ||||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-25 | 1 | -0/+18 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: actionmailer/CHANGELOG.md | |||||
| * | | | copy-edits [ci skip] | Vijay Dev | 2012-02-25 | 1 | -10/+8 | |
| | |/ | |/| | ||||||
| * | | Added database pooling sub-section to the 'configuring' guide | Cynical Grinch | 2012-02-21 | 1 | -0/+20 | |
| | | | ||||||
* | | | Update changelogs with rails 3.0-stable branch info | Paco Guzman | 2012-02-25 | 1 | -1/+51 | |
| | | | ||||||
* | | | put and patch both are allowed for update | Arun Agrawal | 2012-02-25 | 1 | -1/+7 | |
| | | | ||||||
* | | | fixes a test: rake routes now includes PATCH for resources | Xavier Noria | 2012-02-24 | 1 | -0/+1 | |
| | | | ||||||
* | | | consistently mention first patch, then put | Xavier Noria | 2012-02-24 | 5 | -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 Noria | 2012-02-24 | 8 | -39/+4 | |
| | | | | | | | | | | | | the update action of resources | |||||
* | | | 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 | |||||
* | | | 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. | |||||
* | | | 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 | 1 | -0/+5 | |
| | | |