Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | consistently mention first patch, then put | Xavier Noria | 2012-02-24 | 3 | -11/+11 |
| | | | | | | 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 | 3 | -20/+3 |
| | | | | the update action of resources | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 6 | -28/+47 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-18 | 5 | -48/+268 |
|\ | |||||
| * | fix some typos [ci skip] | Vijay Dev | 2012-02-18 | 1 | -3/+3 |
| | | |||||
| * | Documenting the :inverse_of option for associations | Mike Gunderloy | 2012-02-18 | 1 | -0/+99 |
| | | |||||
| * | Do get it right this time. Fixing the documentation around :dependent => ↵ | Aditya Sanghi | 2012-02-18 | 1 | -5/+5 |
| | | | | | | | | :restrict option | ||||
| * | Add note about Rails 4.0 changes | Aditya Sanghi | 2012-02-18 | 1 | -0/+4 |
| | | |||||
| * | Add a note about :dependent => :restrict on has_one and has_many's options | Aditya Sanghi | 2012-02-18 | 1 | -0/+2 |
| | | |||||
| * | [engines guide] basic revision/review work | Ryan Bigg | 2012-02-16 | 1 | -31/+89 |
| | | |||||
| * | [engines guide] Clean up explanation for routing methods | Ryan Bigg | 2012-02-16 | 1 | -5/+17 |
| | | |||||
| * | [engines guide] Elaborate on isolate_namespace functionality | Ryan Bigg | 2012-02-16 | 1 | -1/+7 |
| | | |||||
| * | [engines guide] Revise draft of guide, add testing, assets and dependencies ↵ | Ryan Bigg | 2012-02-16 | 1 | -25/+63 |
| | | | | | | | | sections | ||||
| * | fix spacer template example | Sergey Nartimov | 2012-02-12 | 1 | -1/+1 |
| | | |||||
| * | Change AR validation guide to remove ordered hash mention related to AMo::Errors | Carlos Antonio da Silva | 2012-02-09 | 1 | -1/+1 |
| | | |||||
| * | Fixed styles when browser is narrower than 69em. | Jeff Dickey | 2012-02-09 | 1 | -0/+1 |
| | | |||||
* | | Allow to set custom console type with Rails.application.config.console= | Piotr Sarnacki | 2012-02-16 | 1 | -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. | ||||
* | | CSS fix for guides. Closing #5028 [ci skip] | Vijay Dev | 2012-02-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | In Ubuntu Chrome, in the last lines of code blocks, the underscore isn't visible. Increasing the line height slightly seems to fix this. This problem doesn't exist in Firefox even on Ubuntu. Too lazy to test in any other OS-browser combo :) | ||||
* | | "Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216 | Philip Arndt | 2012-02-15 | 1 | -1/+1 |
| | | |||||
* | | Add HTML5 input[type="date"] helper | Olek Janiszewski | 2012-02-12 | 1 | -3/+5 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-09 | 3 | -16/+9 |
|\ | | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb | ||||
| * | Clean up some wording. | Ben Orenstein | 2012-02-08 | 1 | -2/+2 |
| | | |||||
| * | Fix typo. | Ben Orenstein | 2012-02-08 | 1 | -1/+1 |
| | | |||||
| * | Stop referring to Atom as "ATOM" | Tom Stuart | 2012-02-05 | 2 | -3/+3 |
| | | | | | | | | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom | ||||
| * | Update fixtures testing help | Amro Mousa | 2012-02-05 | 1 | -11/+4 |
| | | |||||
* | | Replaced OrderedHash with Hash for ruby 1.9 series | Uddhava | 2012-02-09 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #4878 from vijaydev/ordinal-2072 | Xavier Noria | 2012-02-07 | 1 | -1/+16 |
|\ \ | | | | | | | PR #2072 with docs | ||||
| * | | Document Integer#ordinal available in PR #2072. | Vijay Dev | 2012-02-04 | 1 | -1/+16 |
| | | | | | | | | | | | | Also remove an unasserted line in the tests. | ||||
* | | | Add *_url helpers to get the full assets URL | Prem Sichanugrist | 2012-02-04 | 1 | -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. | ||||
* | | make the ONLY env variable used in guides generation work with kindle guides | Vijay Dev | 2012-02-04 | 1 | -1/+1 |
| | | |||||
* | | mention how to generate guides for the Kindle [ci skip] | Vijay Dev | 2012-02-04 | 1 | -2/+14 |
| | | |||||
* | | document config.active_record.dependent_restrict_raises in the configuring ↵ | Vijay Dev | 2012-02-04 | 1 | -0/+2 |
| | | | | | | | | guide [ci skip] | ||||
* | | Remove default class to collection_check_boxes and | Rafael Mendonça França | 2012-02-02 | 1 | -6/+6 |
| | | | | | | | | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | | Add changelog, docs and guides entries | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+73 |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | | document the AR none method [ci skip] | Vijay Dev | 2012-02-01 | 1 | -0/+24 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-01 | 4 | -14/+11 |
|\ | |||||
| * | fixes the plus sign properly [ci skip] | Vijay Dev | 2012-02-01 | 1 | -1/+1 |
| | | |||||
| * | Revert "fixing text to match what is being displayed" | Vijay Dev | 2012-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | This reverts commit 5be94cedce3f80923661a2f1fee02c9bfc2e95b2. Reason: This commit is incorrect. | ||||
| * | escape plus sign in "Rails 2.3+" to fix markup | daniely | 2012-02-01 | 1 | -1/+1 |
| | | |||||
| * | Improve readonly examples and optimistic locking docs | Carlos Antonio da Silva | 2012-01-31 | 1 | -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 bit | Carlos Antonio da Silva | 2012-01-31 | 1 | -5/+2 |
| | | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Patrick Davey | 2012-01-31 | 1 | -1/+1 |
| |\ | |||||
| | * | Fixed typo. "from" should be "form". | Ying Tsen Hong | 2012-01-30 | 1 | -1/+1 |
| | | | |||||
| * | | fixing text to match what is being displayed | Patrick Davey | 2012-01-31 | 1 | -1/+1 |
| |/ | |||||
| * | Improve active record associations guide a bit | Carlos Antonio da Silva | 2012-01-28 | 1 | -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 tables | Rafael Mendonça França | 2012-01-27 | 1 | -0/+30 |
| | | |||||
* | | Disagree with @spastorino, @jonleighton, @tenderlove on ↵ | Jeremy Kemper | 2012-01-26 | 1 | -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 Noria | 2012-01-26 | 1 | -0/+3 |
| | | |||||
* | | Fix contributing guide to reflect preferred position on indentation | brainopia | 2012-01-26 | 1 | -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/docrails | Vijay Dev | 2012-01-26 | 5 | -19/+28 |
|\ |