aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-184-48/+267
|\
| * 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
| |
| * [engines guide] Revise draft of guide, add testing, assets and dependencies ↵Ryan Bigg2012-02-161-25/+63
| | | | | | | | sections
| * 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
| |
* | Allow to set custom console type with Rails.application.config.console=Piotr Sarnacki2012-02-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | "Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216Philip Arndt2012-02-151-1/+1
| |
* | 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
| |
* | 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.
* | | Add *_url helpers to get the full assets URLPrem Sichanugrist2012-02-041-0/+24
|/ / | | | | | | | | | | | | Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`, `video_url`, and `font_url` to assets tag helper. These URL helpers will return the full path to your assets. This is useful when you are going to reference this asset from external host.
* | mention how to generate guides for the Kindle [ci skip]Vijay Dev2012-02-041-2/+14
| |
* | document config.active_record.dependent_restrict_raises in the configuring ↵Vijay Dev2012-02-041-0/+2
| | | | | | | | guide [ci skip]
* | Remove default class to collection_check_boxes andRafael Mendonça França2012-02-021-6/+6
| | | | | | | | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França]
* | Add changelog, docs and guides entriesCarlos Antonio da Silva2012-02-021-0/+73
| | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* | document the AR none method [ci skip]Vijay Dev2012-02-011-0/+24
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-014-14/+11
|\
| * fixes the plus sign properly [ci skip]Vijay Dev2012-02-011-1/+1
| |
| * Revert "fixing text to match what is being displayed"Vijay Dev2012-02-011-1/+1
| | | | | | | | | | | | This reverts commit 5be94cedce3f80923661a2f1fee02c9bfc2e95b2. Reason: This commit is incorrect.
| * escape plus sign in "Rails 2.3+" to fix markupdaniely2012-02-011-1/+1
| |
| * Improve readonly examples and optimistic locking docsCarlos Antonio da Silva2012-01-311-5/+5
| | | | | | | | | | | | | | | | | | * Relation#order can receive order attributes as different arguments, add example; * Readonly does not handle deletion of records, only modification; * locking_version column does not need to default to 0, Rails handles nil values; * Change references from "set_locking_column" to "self.locking_column".
| * Improve ar associations habtm docs a bitCarlos Antonio da Silva2012-01-311-5/+2
| |
| * Merge branch 'master' of github.com:lifo/docrailsPatrick Davey2012-01-311-1/+1
| |\
| | * Fixed typo. "from" should be "form".Ying Tsen Hong2012-01-301-1/+1
| | |
| * | fixing text to match what is being displayedPatrick Davey2012-01-311-1/+1
| |/
| * Improve active record associations guide a bitCarlos Antonio da Silva2012-01-281-2/+2
| | | | | | | | | | * Use right example for has_many :find method; * Reword has_many :counter_sql doc notes.
* | Add `create_join_table` migration helper to create HABTM join tablesRafael Mendonça França2012-01-271-0/+30
| |
* | Disagree with @spastorino, @jonleighton, @tenderlove on ↵Jeremy Kemper2012-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | 51ccb7f59c83120bf6869f1febfebaec44bcface Same-level method visibility disappears into the syntax. Indent (and outdent) emphasize the state change that accompanies the declaration. All methods following 'private' are private: that's a natural hierarchy worthy of visual reinforcement. Outdent, represent! :trollface:
* | 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 branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-265-19/+28
|\
| * Revert "Added Apache configuration for dynamic gzip content"Vijay Dev2012-01-251-24/+1
| | | | | | | | | | | | | | | | | | This reverts commit fce92fd8a7e407b034d189a652af81a06ac98730. Reason: We want any config that goes into the guides to be 100% right and I'm not entirely sure that this one is it. We already had a similar config that was removed in https://github.com/rails/rails/commit/b1c20e37eccdfab7bb94d34f249c5e49256b9980
| * minor text change [ci skip]Vijay Dev2012-01-251-1/+1
| |
| * 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
| |