aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Be consistent with quotes in smtp example guide [ci skip]Carlos Antonio da Silva2013-03-191-1/+1
|
* Typo fix [ci ski]Justin2013-03-151-2/+2
| | | | Closes #9730.
* removes the Ajax on Rails early draftXavier Noria2012-12-311-267/+0
| | | | | | | | | | | There was a few attempts at writing this guide, but we never passed from the work in progress stage. In spite of not being included in the table of contents, this draft was still indexed by bots and showed up in searches. Steve Klabnik has written "Working with JavaScript in Rails" which is going to be released with Rails 4. So better get rid of this altogether.
* Allow users to choose the timestamp format in the cache keyRafael Mendonça França2012-12-101-0/+2
| | | | | | This can be done using the class attribute cache_timestamp_format Closes #8195
* Merge pull request #8280 from asanghi/fix_guide_field_with_error_procRafael Mendonça França2012-11-201-2/+6
| | | | | | fix guide with field_with_error proc example [ci skip]
* Remove the git option from ruby-prof gem pointing to wycats repo.Carlos Antonio da Silva2012-11-161-1/+1
| | | | | | | According to him, at one point his fork was the one that had the call stack printer, and it's in the main repo now. [ci skip]
* Merge pull request #8027 from daenney/masterXavier Noria2012-11-081-1/+3
| | | | | | | | Atomic.rb assumes it may chown/chmod a file but doesn't handle the EPERM error. Conflicts: activesupport/CHANGELOG.md guides/source/active_support_core_extensions.md
* Fix reference to code sample in Getting Started.Steve Klabnik2012-09-301-1/+1
| | | | Fixes #7799.
* Add upgrading note to 3.1 release notes.Steve Klabnik2012-09-181-0/+122
| | | | See #7685.
* [guides] Add info about CHANGELOGs to contributing guidePiotr Sarnacki2012-08-111-0/+25
|
* Revert "Add update_columns and the suggestion of using update_columnsRafael Mendonça França2012-07-301-2/+0
| | | | | | | | | | | | | | | | instead of update_column" This reverts commit 9fa06c3d9811113259cb6e00a3a8454b3974add7. This reverts commit 17a64de4980683da3ca3c185205013a29a8cf88d. This reverts commit def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c, reversing changes made to 6b7d26cf3c061907aedc44f7f36776c9b36950fd. Reason: This was supposed to be released with 3.2.7 before the suggestion to use update_column. Since it was not release now is not good to suggest to use another method because it will confusing the people.
* New #update_columns method.Sebastian Martinez2012-07-261-0/+2
|
* Update coding convention from masterPrem Sichanugrist2012-07-091-8/+8
|
* Since Rails 3.2, use layout false to render no layoutJosé Valim2012-07-061-1/+1
|
* More info on commit messages in contributing guidePiotr Sarnacki2012-05-211-1/+33
| | | | | | | | | Add more info on how to write a good commit messages along with example showing nicely formatted commit message. Rails git history does not look too well when you try to figure out why particular changes were introduced. We can do much better than that and it's never too late to start.
* :foreign_key option should be on has_many side of associationMikhail Dieterle2012-05-131-2/+2
|
* Update 'getting started' guides for new whitelist security implementation. ↵Erich Menge2012-05-121-1/+16
| | | | Closes #6286.
* improvements in "caching_with_rails" guide - backported from docrailskucaahbe2012-05-041-8/+10
| | | | | | Conflicts: railties/guides/source/caching_with_rails.textile
* Lazy load `default_form_builder` if it's passed as a stringPiotr Sarnacki2012-04-281-1/+1
| | | | closes #3341
* Replace ruby-debug19 which doesnt work on 1.9.3 out of the box with a more ↵Aditya Sanghi2012-04-171-1/+1
| | | | maintained debugger gem
* rewords the section about default_url_options in the Action Controller ↵Xavier Noria2012-04-091-3/+4
| | | | Overview guide
* Merge pull request #5784 from rafaelfranca/default_url-3-2Santiago Pastorino2012-04-081-2/+2
|\ | | | | [3-2-stable] Document that default_url_options must return a hash with symbolized keys
| * Document that default_url_options must return a hash with symbolizedRafael Mendonça França2012-04-091-0/+1
| | | | | | | | keys
| * default_url_options does not receive one argument anymoreRafael Mendonça França2012-04-081-2/+1
| |
* | Fix 'Everyday Git' linkAnil Wadghule2012-04-071-1/+1
| |
* | Fix Rails version in getting started guide.Anil Wadghule2012-04-061-4/+4
|/
* Added config.action_view.embed_authenticity_token_in_remote_formsPiotr Sarnacki2012-03-281-0/+2
| | | | | | | | There is a regression introduced in 16ee611fa, which breaks remote forms that should also work without javascript. This commit introduces config option that allows to configure this behavior defaulting to the old behavior (ie. include authenticity token in remote forms by default)
* Fix 'Security#Mass Assignment' URL typoAbe Voelker2012-03-261-1/+1
|
* Close string quotesJoão Britto2012-03-131-1/+1
|
* Add documentation for find_or_create_by_{attribute}! method.Andrew White2012-03-121-0/+2
|
* In a nested resource route, the parent resource param is <resource_name>_idVijay Dev2012-03-091-8/+8
| | | | | This fix was made by @coreyhaines on docrails and merged in master. Cleanly cherry picking into 3-2-stable wasn't possible.
* Left off a : when specifying the :namespace option for a :controllercoreyhaines2012-03-091-1/+1
| | | | path segment
* Fix typo in asset pipeline guideMatthew Conway2012-03-091-1/+1
|
* Fixed a slightly misleading equivalent SQL code on the 3.2 query interface.Swanand Pagnis2012-03-091-1/+1
|
* typoMikhail Dieterle2012-03-091-1/+1
|
* Removed (outdated?) config.action_view.logger from configuration guide.Victor Costan2012-02-191-3/+1
|
* fix a typo [ci skip]Vijay Dev2012-02-181-1/+1
|
* Documenting the :inverse_of option for associationsMike Gunderloy2012-02-181-0/+99
|
* fix spacer template exampleSergey Nartimov2012-02-181-1/+1
|
* disable automatic explain if there is no logger [closes #4671]Xavier Noria2012-01-261-0/+3
|
* Fix contributing guide to reflect preferred position on indentationbrainopia2012-01-261-1/+1
| | | | | | | | | | | Fix incorrect recommendation from indenting after private/protected to not. Based on opinions of @spastorino, @jonleighton, @tenderlove https://github.com/rails/rails/pull/1838#issuecomment-1440281 https://en.twitter.com/#!/spastorino/status/142054749351575552 https://en.twitter.com/#!/tenderlove/status/142014046445641728 https://en.twitter.com/#!/jonleighton/status/142021813415841794
* Merge pull request #4673 from carlosantoniodasilva/validation-guides-update-3-2Vijay Dev2012-01-253-16/+25
|\ | | | | Validation guides update 3 2
| * 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.
* | 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
| |