aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The section that mentions after_commit and after_rollback will swallow ↵Bikram2013-11-281-1/+1
| | | | exceptions should me made clear. Made that section to be a instead of a regular paragraph.
* Merge pull request #13038 from ccutrer/mysql_rename_indexYves Senn2013-11-282-0/+12
|\ | | | | implement rename_index natively for MySQL > 5.7
| * implement rename_index natively for MySQL > 5.7Cody Cutrer2013-11-282-0/+12
| |
* | Merge pull request #13084 from lihanli/series-singularize-fixYves Senn2013-11-282-4/+6
|\ \ | |/ |/| Fix an activesupport inflector test changing the inflector but not reverting all its changes afterwards
| * wrap test that changes inflections in with_dupLihan Li2013-11-282-4/+6
| |
* | no need to explain bundler and rails new in the release notes. [ci skip]Yves Senn2013-11-281-35/+0
| | | | | | | | /cc @fxn
* | delete obsolete KINDLE.md. Closes #13037. [ci skip].Yves Senn2013-11-281-26/+0
| |
* | first pass through CHANGELOGS to extract 4_1_release_notes. [ci skip]Yves Senn2013-11-285-21/+273
| | | | | | | | | | | | | | | | | | | | | | | | Extract **notable changes**, **deprecations** and **removals** from each CHANGELOG. I tried to reference the commits and pull requests for new features and deprecations. In the process I also made some minor changes to the CHANGELOGS. The 4_1_release_notes guide is declared WIP.
* | create 4.1 release notes guide scaffold. [ci skip]Yves Senn2013-11-283-0/+148
| |
* | 3.2 to 4.0 section in upgrading guide is no longer wip. [ci skip]Yves Senn2013-11-281-2/+0
| |
* | move "HTTP PATCH" paragraph into "Upgrading 3.2 -> 4.0". [ci skip]Yves Senn2013-11-281-9/+9
| |
* | remove duplicate sentence from AS changelog. [ci skip].Yves Senn2013-11-281-2/+1
|/
* Do not create synonym named subjectsYasuo Honda2013-11-271-3/+0
| | | | | | | because it is only used in `activerecord/test/cases/adapters/oracle/synonym_test.rb` See rails/rails#13054
* Merge pull request #13054 from senny/remove_oracle_testsYves Senn2013-11-271-17/+0
|\ | | | | Remove leftover Oracle tests.
| * the oracle adapter lives in a gem. Tests should live there as well.Yves Senn2013-11-261-17/+0
| |
* | Merge pull request #13083 from kuldeepaggarwal/typosRafael Mendonça França2013-11-271-1/+4
|\ \ | | | | | | fixed typo `destory` => `destroy` [ci skip]
| * | fixed-case when invalid action name has passedKuldeep Aggarwal2013-11-281-0/+3
| | |
| * | fixed typo `destory` => `destroy` [ci skip]Kuldeep Aggarwal2013-11-281-1/+1
| | |
* | | Merge pull request #13082 from blowmage/deprecate_describeAaron Patterson2013-11-271-5/+12
|\ \ \ | | | | | | | | Deprecate ActiveSupport::TestCase.describe
| * | | Deprecate ActiveSupport::TestCase.describeMike Moore2013-11-271-5/+12
|/ / / | | | | | | | | | | | | Provide message to define ActiveSupport::TestCase.name instead. Allow calling describe with a block, which Minitest::Spec does.
* | | Merge pull request #13079 from gregmolnar/inflector_docsXavier Noria2013-11-271-4/+0
|\ \ \ | |/ / |/| | [ci skip] removed singulars section from classify doc
| * | [ci skip] removed singulars section from classify docGreg Molnar2013-11-271-4/+0
|/ /
* | Merge branch 'deprecate_numeric_since_ago' of ↵Jeremy Kemper2013-11-274-31/+58
|\ \ | | | | | | | | | | | | | | | | | | https://github.com/chancancode/rails Conflicts: activesupport/CHANGELOG.md
| * | Deprecated Numeric#{ago,until,since,from_now}Godfrey Chan2013-11-264-31/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user is expected to explicitly convert the value into an AS::Duration, i.e. `5.ago` => `5.seconds.ago` This will help to catch subtle bugs like: def recent?(days = 3) self.created_at >= days.ago end The above code would check if the model is created within the last 3 **seconds**. In the future, `Numeric#{ago,until,since,from_now}` should be removed completely, or throw some sort of errors to indicate there are no implicit conversion from `Numeric` to `AS::Duration`. Also fixed & refactor the test cases for Numeric#{ago,since} and AS::Duration#{ago,since}. The original test case had the assertion flipped and the purpose of the test wasn't very clear.
* | | Merge pull request #13072 from kuldeepaggarwal/unwanted-codeXavier Noria2013-11-271-2/+5
|\ \ \ | | | | | | | | unnecessary checking of `size` with `second regex` if matched with former regex
| * | | unnecessary checking of `size` with `second regex` if matched with first oneKuldeep Aggarwal2013-11-271-2/+5
| | | |
* | | | Merge pull request #13067 from sagarjunnarkar/getting_startedCarlos Antonio da Silva2013-11-271-0/+1
|\ \ \ \ | | | | | | | | | | Link for "New Post" is added in Getting Started guide [ci skip]
| * | | | Link for "New Post" is added in Getting Started guide [ci skip]Sagar Junnarkar2013-11-271-0/+1
| | |/ / | |/| | | | | | | | | | | | | | - Earlier(line number 862) it is said to add <%= link_to 'New post', new_post_path %> on posts index page before table tag. But when posts index page html is shown, "New Post" link is missing. So aaded "New Post" link in this commit
* | | | Merge pull request #13068 from chancancode/drop_yajl_from_gemfileCarlos Antonio da Silva2013-11-271-1/+0
|\ \ \ \ | | | | | | | | | | Dropped yajl from Gemfile
| * | | | Dropped yajl from GemfileGodfrey Chan2013-11-261-1/+0
| |/ / /
* | | | Merge pull request #13069 from chancancode/json_gem_versionCarlos Antonio da Silva2013-11-272-2/+6
|\ \ \ \ | |_|/ / |/| | | Requires JSON gem version 1.7.7 or above as it contains an important security fix.
| * | | Requires JSON gem version 1.7.7 or above as it contains an importantGodfrey Chan2013-11-262-2/+6
| |/ / | | | | | | | | | security fix.
* | | Merge pull request #13071 from kuldeepaggarwal/documentation-updationYves Senn2013-11-271-3/+0
|\ \ \ | | | | | | | | [ci skip]removed obsolete information about `options` parameter in create method
| * | | [ci skip]removed obsolete information about `options` parameter in create methodKuldeep Aggarwal2013-11-271-3/+0
|/ / /
* | | Merge pull request #13070 from kuldeepaggarwal/documentation-updationYves Senn2013-11-271-1/+1
|\ \ \ | |/ / |/| | [ci skip] used new syntax for scopes
| * | [ci skip] used new syntax for scopesKuldeep Aggarwal2013-11-271-1/+1
|/ /
* | Merge pull request #13061 from ↵Rafael Mendonça França2013-11-263-1/+23
| | | | | | | | | | | | | | | | laurocaetano/fix-uniqueness-validation-for-aliased-attribute Fix bug when validating the uniqueness of an aliased attribute. Conflicts: activerecord/CHANGELOG.md
* | Merge pull request #12183 from chancancode/json_encoder_refactorJeremy Kemper2013-11-263-113/+107
|\ \ | | | | | | JSON encoder refactor
| * | Be explicit and use the actual unicode sequenceGodfrey Chan2013-11-261-1/+1
| | |
| * | Process::Status should get a :nodoc: [ci skip]Godfrey Chan2013-11-261-1/+1
| | |
| * | Make the JSON encoder pluggableGodfrey Chan2013-11-261-2/+8
| | |
| * | Removed the Ruby encoder and switched to using the JSON gemGodfrey Chan2013-11-263-82/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | Got all the tests passing again. Support for `encode_json` has been removed (and consequently the ability to encode `BigDecimal`s as numbers, as mentioned in the previous commit). Install the `activesupport-json_encoder` gem to get it back.
| * | Removed support for encoding BigDecimal as a JSON numberGodfrey Chan2013-11-263-25/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because the new encoder will no longer support encode_json. Therefore our only choice is to return `to_i` or `to_s` in `BigDecimal#as_json`. Since casting a BigDecimal to an integer is most likely a lossy operation, we chose to encode it as a string. Support for encoding BigDecimal as a string will return via the `activesupport-json_encoder` gem.
| * | Expanded coverage on JSON encodingGodfrey Chan2013-11-261-2/+12
| | |
| * | Added some failing tests where the JSON encoder is not resolving as_json ↵Godfrey Chan2013-11-261-2/+12
| | | | | | | | | | | | correctly
* | | More typo fixesAkira Matsuda2013-11-272-2/+2
|/ /
* | Minor typo fixesAkira Matsuda2013-11-274-6/+6
| |
* | Add branch to arel in Gemfile so that we can use local repos [ci skip]Carlos Antonio da Silva2013-11-261-1/+1
| |
* | Merge pull request #13018 from heruku/scoping_fixYves Senn2013-11-264-1/+19
|\ \ | | | | | | changed update counter to act on unscoped model
| * | changed update counter to act on unscoped modelheruku2013-11-264-1/+19
|/ /