Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Confirm a record has not already been destroyed before decrementing | Ben Tucker | 2013-05-06 | 3 | -1/+27 |
| | | | | | | | | | counter cache At present, calling destroy multiple times on the same record results in the belongs_to counter cache being decremented multiple times. With this change the record is checked for whether it is already destroyed prior to decrementing the counter cache. | ||||
* | Merge pull request #10394 from BMorearty/remove-varargs-from-in | Guillermo Iguaran | 2013-05-01 | 3 | -31/+10 |
|\ | | | | | Remove varargs from `Object#in?` | ||||
| * | Revert the guide after removing varargs from `in?`. | Brian Morearty | 2013-05-01 | 1 | -2/+1 |
| | | |||||
| * | Revert "Object#in? also accepts multiple parameters" | Brian Morearty | 2013-05-01 | 2 | -29/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ebf69ab1636df74c76332c53bcd3d8494fb91b45. `in?` must not take multiple parameters because its behavior would be ambiguous: # Test if "B" is included in a list of names with `"B".in?(*names)`: names = ["BMorearty"] "B".in?(*names) # => true names = ["BMorearty","rubyduo"] "B".in?(*names) # => false Conflicts: activesupport/lib/active_support/core_ext/object/inclusion.rb activesupport/test/core_ext/object/inclusion_test.rb | ||||
* | | Fix failing AP test | Carlos Antonio da Silva | 2013-05-01 | 1 | -1/+1 |
| | | |||||
* | | Revert "Consistent use of code syntax formatting for boolean values" | Xavier Noria | 2013-05-01 | 1 | -7/+7 |
| | | | | | | | | | | | | Same rationale as previous revert. This reverts commit 887225e69b6cdd27f00cf043c4ac918ca5e18cbf. | ||||
* | | Revert "Correct formatting for remaining booleans" | Xavier Noria | 2013-05-01 | 1 | -21/+21 |
|/ | | | | | | | It is not in the contract that flags have to be singletons, the use of regular font indicates that. This reverts commit 80036f9a5341bd831d125dc684841a8433d92070. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-05-01 | 36 | -380/+334 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2013-05-01 | 2 | -2/+2 |
| | | |||||
| * | routes.rb should teach how to use concerns | Thiago Pinto | 2013-05-01 | 1 | -0/+7 |
| | | |||||
| * | Correct formatting for remaining booleans | Jonathan Roes | 2013-04-30 | 1 | -21/+21 |
| | | |||||
| * | more naming fixes. | Yves Senn | 2013-04-30 | 5 | -7/+12 |
| | | | | | | | | | | | | | | | | * it's Action Mailer not ActionMailer * it's Action Pack not ActionPack * it's Active Support not ActiveSupport /cc @fxn | ||||
| * | it's Active Record not ActiveRecord | Yves Senn | 2013-04-30 | 8 | -8/+13 |
| | | | | | | | | /cc @fxn | ||||
| * | Consistent use of code syntax formatting for boolean values | Jonathan Roes | 2013-04-30 | 1 | -7/+7 |
| | | |||||
| * | Move 2 images to getting_started folder. All other images in getting started ↵ | Richard Owen | 2013-04-28 | 3 | -2/+2 |
| | | | | | | | | guide already in this folder. | ||||
| * | New rails welcome screen | Richard Owen | 2013-04-28 | 1 | -0/+0 |
| | | |||||
| * | Use instance variables in redirect_to | Mikhail Dieterle | 2013-04-28 | 1 | -4/+4 |
| | | |||||
| * | Add changes based on recommendations in Issue #9793 | Nick Borromeo | 2013-04-23 | 1 | -173/+65 |
| |\ | |||||
| | * | Remove calls to action: and make use of named routes for consistency. | Nick Borromeo | 2013-04-23 | 1 | -106/+35 |
| | | | |||||
| | * | Move use of named routes to beggining of the guide | Nick Borromeo | 2013-04-23 | 1 | -67/+30 |
| |/ | |||||
| * | Added missing ')' on routing_filter link | hughkelsey | 2013-04-23 | 1 | -1/+1 |
| | | |||||
| * | Update assets_pipeline with config.assets.precompile location | Zoltan Debre | 2013-04-23 | 1 | -2/+2 |
| | | | | | | rake assets:precompile will work if config.assets.precompile is in config/application.rb and not in config/environment/production.rb | ||||
| * | Remove superfluous `self.` in Action Mailer mail method documetation | Alexey Vakhov | 2013-04-23 | 1 | -3/+3 |
| | | | | | | | | | | | | Notation with `self` was sugestted at 0b05acd, when self.defaults was extlib_inheritable_accessor. But now all Action Mailer examples are without this self. It's nicer. | ||||
| * | Cosmetic fixes in AM::Base docs. Missed spaces in OpenSSL constants ↵ | Alexey Vakhov | 2013-04-23 | 1 | -2/+2 |
| | | | | | | | | | | | | enumerations. Injected at a1639ad. | ||||
| * | Mention that Dynamic finders have been deprecated in Rails 4 | Jonathan Roes | 2013-04-23 | 1 | -0/+2 |
| | | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | aditya-kapoor | 2013-04-22 | 1 | -3/+3 |
| |\ | |||||
| | * | Make AM readme example more consistent | Alexey Vakhov | 2013-04-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | At 4a6eba32 mail sending example was rewrited from rails 2 format to modern rails 3 approach. But passing parameter `recipient` to method Notifier#welcome was lost. Passing email as parameter makes this example more solid. | ||||
| * | | Added instructions of latest bundler install + modified the on: :save option ↵ | aditya-kapoor | 2013-04-22 | 2 | -2/+5 |
| |/ | | | | | | | description in validations | ||||
| * | corrected a typo related to on: :save option in validations | aditya-kapoor | 2013-04-22 | 1 | -1/+1 |
| | | |||||
| * | corrected a line related to on: :save option in validations | aditya-kapoor | 2013-04-22 | 1 | -0/+2 |
| | | |||||
| * | fixes typo in testing guide | Florian Thomas | 2013-04-21 | 1 | -1/+1 |
| | | |||||
| * | Updates list of assertions in testing guide | Florian Thomas | 2013-04-21 | 1 | -12/+19 |
| | | |||||
| * | Refer to 37signals blog post for alternative | Jonathan Roes | 2013-04-21 | 1 | -2/+2 |
| | | | | | | | | | | According to the rationale at https://github.com/rails/rails/pull/7833#issuecomment-9141908, we should recommend new users to follow DHH's approach outlined at http://37signals.com/svn/posts/3113-how-key-based-cache-expiration-works. This is the first step, and perhaps in the future we can write some specific recommendations out. | ||||
| * | Make guide description more concise | Fiona Tay | 2013-04-21 | 1 | -1/+1 |
| | | |||||
| * | There are now 6 request methods including PATCH | Jonathan Roes | 2013-04-19 | 1 | -1/+1 |
| | | |||||
| * | Simplify ERB example code | Jonathan Roes | 2013-04-19 | 1 | -2/+2 |
| | | |||||
| * | MiniTest::Unit is used instead of Test::Unit | Florian Thomas | 2013-04-19 | 1 | -2/+3 |
| | | |||||
| * | rubygem -> RubyGem | Prathamesh Sonpatki | 2013-04-19 | 4 | -4/+4 |
| | | | | | | | | * Reference -> http://guides.rubygems.org/what-is-a-gem/ | ||||
| * | Grammar | Jonathan Roes | 2013-04-18 | 1 | -6/+6 |
| | | |||||
| * | Be more specific about the root directory. | Jonathan Roes | 2013-04-18 | 1 | -1/+1 |
| | | |||||
| * | Remove versions from gems listing | Jonathan Roes | 2013-04-18 | 1 | -29/+27 |
| | | | | | | Since they will undoubtedly change often, it would be simpler to just include the names of the gems instead of updating this list every time Rails is released. | ||||
| * | fixed typo in select_tag docs | Rncrtr | 2013-04-18 | 1 | -1/+1 |
| | | |||||
| * | stdlib -> standard library | Prathamesh Sonpatki | 2013-04-18 | 1 | -1/+1 |
| | | |||||
| * | bump the rails version in bug report template | Neeraj Singh | 2013-04-17 | 1 | -1/+1 |
| | | |||||
| * | readonly info for save and save! | Neeraj Singh | 2013-04-17 | 1 | -0/+6 |
| | | |||||
| * | Document the fact you can add_index on new columns | Sammy Larbi | 2013-04-17 | 1 | -1/+19 |
| | | |||||
| * | documentation fixes for Array.wrap and AR::Validations::AssociatedValidator | Hrvoje Šimić | 2013-04-17 | 2 | -8/+8 |
| | | |||||
| * | updated rdoc to reflect info about readonly attribute | Neeraj Singh | 2013-04-17 | 1 | -0/+2 |
| | | |||||
| * | without autosave option updated records not save | Neeraj Singh | 2013-04-17 | 1 | -1/+2 |
| | | | | | | | | | | Emphasizing that without autosave option only new records are saved and updated records are not saved | ||||
| * | took out unnecessary wordage, changed "number" to "amount" | Waynn Lue | 2013-04-15 | 1 | -2/+1 |
| | |