Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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 | |
|\ \ | ||||||
| * | | Revert "Added Apache configuration for dynamic gzip content" | Vijay Dev | 2012-01-25 | 1 | -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 Dev | 2012-01-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix callbacks order for destroying an object in validations guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -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 guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -7/+2 | |
| | | | ||||||
| * | | Change ActiveRecord::Errors to ActiveModel::Errors in guides | Carlos Antonio da Silva | 2012-01-25 | 3 | -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 guide | Carlos Antonio da Silva | 2012-01-25 | 1 | -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 content | leprasmurf | 2012-01-23 | 1 | -1/+24 | |
| | | | ||||||
| * | | use CamelCase convention for "tag" model name | ciastek | 2012-01-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | "will be used throughout all the views for posts." could suggest, that ↵ | ciastek | 2012-01-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | code's modification is somehow related to posts, while it's application-wide | |||||
| * | | Fixed typo in 'cast'. | Aleksey Gureiev | 2012-01-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | fix some examples - method names can't start with a number | Vijay Dev | 2012-01-24 | 1 | -5/+5 | |
| | | | ||||||
* | | | uniformizes the punctuation of comments in some files generated for new apps | Xavier Noria | 2012-01-22 | 4 | -40/+40 | |
|/ / | | | | | | | | | | | Some end with a full stop, some don't. Let's have attention to detail and make them uniform. I have chosen to add full stops according to our documentation guidelines related to RDoc. | |||||
* | | update release notes [ci skip] | Vijay Dev | 2012-01-20 | 1 | -2/+0 | |
| | | ||||||
* | | add uglifier version info in the 'what to update' section | Vijay Dev | 2012-01-19 | 1 | -0/+1 | |
| | | ||||||
* | | fix duplicate ids for the headers [ci skip] | Vijay Dev | 2012-01-19 | 1 | -7/+7 | |
| | | ||||||
* | | document AR::Base#with_lock in release notes [ci skip] | Vijay Dev | 2012-01-19 | 1 | -0/+27 | |
| | | ||||||
* | | update the getting_started guide code [ci skip] | Vijay Dev | 2012-01-19 | 9 | -24/+57 | |
| | | ||||||
* | | Merge pull request #4531 from exviva/pessimistic_with_lock | Aaron Patterson | 2012-01-19 | 1 | -0/+11 | |
|\ \ | | | | | | | Add ActiveRecord::Base#with_lock | |||||
| * | | Add ActiveRecord::Base#with_lock | Olek Janiszewski | 2012-01-18 | 1 | -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 Dev | 2012-01-19 | 1 | -2/+2 | |
| | | | ||||||
* | | | update release note: timestamps is non-null as default | Fujimura Daisuke | 2012-01-19 | 1 | -0/+2 | |
| | | |