aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
Commit message (Collapse)AuthorAgeFilesLines
* Fix callbacks order for destroying an object in validations guideCarlos Antonio da Silva2012-01-251-2/+4
| | | | | Also add around save to creating/updating callbacks order, and fix save example with no validation
* Improve field error proc example in validations guideCarlos Antonio da Silva2012-01-251-7/+2
|
* Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-253-5/+5
| | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
* Fix custom validation methods section in AR validations and callbacks guideCarlos Antonio da Silva2012-01-251-2/+14
| | | | | | The methods validate_on_create and validate_on_update are not available anymore in Rails, this removes them from the guide and adds an example on how to use validate with the :on option.
* Added Apache configuration for dynamic gzip contentleprasmurf2012-01-231-1/+24
|
* use CamelCase convention for "tag" model nameciastek2012-01-231-1/+1
|
* "will be used throughout all the views for posts." could suggest, that ↵ciastek2012-01-231-1/+1
| | | | code's modification is somehow related to posts, while it's application-wide
* Fixed typo in 'cast'.Aleksey Gureiev2012-01-211-1/+1
|
* update release notes [ci skip]Vijay Dev2012-01-201-2/+0
|
* add uglifier version info in the 'what to update' sectionVijay Dev2012-01-191-0/+1
|
* fix duplicate ids for the headers [ci skip]Vijay Dev2012-01-191-7/+7
|
* document AR::Base#with_lock in release notes [ci skip]Vijay Dev2012-01-191-0/+27
|
* update the getting_started guide code [ci skip]Vijay Dev2012-01-199-24/+57
|
* Merge pull request #4531 from exviva/pessimistic_with_lockAaron Patterson2012-01-191-0/+11
|\ | | | | Add ActiveRecord::Base#with_lock
| * Add ActiveRecord::Base#with_lockOlek Janiszewski2012-01-181-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `with_lock` method to ActiveRecord objects, which starts a transaction, locks the object (pessimistically) and yields to the block. The method takes one (optional) parameter and passes it to `lock!`. Before: class Order < ActiveRecord::Base def cancel! transaction do lock! # ... cancelling logic end end end After: class Order < ActiveRecord::Base def cancel! with_lock do # ... cancelling logic end end end
* | revising release notes [ci skip]Vijay Dev2012-01-191-2/+2
| |
* | update release note: timestamps is non-null as defaultFujimura Daisuke2012-01-191-0/+2
| |
* | revise wording [ci skip]Vijay Dev2012-01-191-2/+2
| |
* | Adding Action Mailer section to 3.2 release notesGuillermo Iguaran2012-01-181-0/+6
| |
* | Update Release Notes: sprockets-rails section should be inside of ActionPack ↵Guillermo Iguaran2012-01-181-1/+1
|/ | | | section
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-192-2/+3
|\
| * Update docs for config.assets.loggerRafael Mendonça França2012-01-181-2/+1
| |
| * Add documentation to config.assets.loggerRafael Mendonça França2012-01-171-0/+2
| |
| * Merge pull request #76 from makoto/masterVijay Dev2012-01-161-2/+2
| |\ | | | | | | UrlEncodedPairParser is deprecated, but still used as an example
| | * ActionController::UrlEncodedPairParser is deprecated. Replaced the url ↵Makoto Inoue2012-01-161-2/+2
| | | | | | | | | | | | | | | parsing example with Rack::Utils.parse_query - https://webrat.lighthouseapp.com/projects/10503/tickets/161-urlencodedpairparser-removed-in-edge-rails
* | | updates to 3.2 release notesVijay Dev2012-01-181-1/+19
| | |
* | | ActionView now has its own loggerRafael Mendonça França2012-01-181-1/+1
| | |
* | | Deprecate RAILS_CACHE constant.kennyj2012-01-181-2/+2
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-163-18/+83
|\ \
| * | minor edits in getting started guideVijay Dev2012-01-161-2/+2
| | |
| * | copy editing asset pipeline changesVijay Dev2012-01-161-7/+6
| | |
| * | [docs] Update pipeline asset organization section.Richard Hulse2012-01-161-4/+57
| | | | | | | | | | | | | | | * Calified how assets are included. * Added information about using index manifests.
| * | change class to id per scaffold changeDan Pickett2012-01-151-7/+7
| |/ | | | | #4472
| * Improve description of :allow_destroy option for nested attributes in ↵Carlos Antonio da Silva2012-01-151-7/+7
| | | | | | | | getting started guide
| * Fix styling of example layout. Fixes #4461Jason Noble2012-01-131-1/+1
| |
| * Mention how use config.assets.prefix to avoid conflicting with an existing ↵Guillermo Iguaran2012-01-131-1/+8
| | | | | | | | "/assets" route
| * Getting Started Guide: Update reference about JavaScript runtimesGuillermo Iguaran2012-01-131-1/+7
| |
* | Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-131-0/+2
|/ | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-131-1/+3
|\
| * Update Railties section of 3.2 release notesGuillermo Iguaran2012-01-121-1/+3
| |
* | revise wording [ci skip]Vijay Dev2012-01-131-2/+1
| |
* | fix rails binary path when using --dev [ci skip]Vijay Dev2012-01-132-2/+2
| |
* | Added note about [ci skip] tag to contributing guidePiotr Sarnacki2012-01-121-0/+2
| |
* | deprecates Module#local_constant_namesXavier Noria2012-01-121-2/+4
| |
* | add info about kindle guides in the release guideVijay Dev2012-01-131-0/+4
| |
* | prepare for 3.2 guides release :)Vijay Dev2012-01-131-1/+1
| |
* | remove hidden link in guides layoutVijay Dev2012-01-131-1/+0
|/
* add 3.2 release notes to the guides indexVijay Dev2012-01-131-0/+4
|
* First attempt at providing a 'what to update' section for Rails 3.1Vijay Dev2012-01-131-0/+100
|
* minor revision in 3.2 release guideVijay Dev2012-01-131-1/+1
|