aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove warningsKuldeep Aggarwal2014-06-122-3/+0
| | | | warning: assigned but unused variable - scope_called, path and strexp
* Merge pull request #15644 from akshay-vishnoi/activesupportRafael Mendonça França2014-06-111-1/+0
|\ | | | | No need to require to_param, it is already required in object/to_query.rb
| * No need to require to_param, it is already required in to_query.rbAkshay Vishnoi2014-06-111-1/+0
| |
* | Merge pull request #15643 from aditya-kapoor/add-testRafael Mendonça França2014-06-111-0/+4
|\ \ | | | | | | [ci skip] add test for ActionModel::Conversion
| * | [ci skip] add tests for ActionModel::ConversionAditya Kapoor2014-06-111-0/+4
|/ /
* | Merge pull request #15642 from akshay-vishnoi/activesupportRafael Mendonça França2014-06-111-0/+0
|\| | | | | Move tests for blank.rb under Object
| * Move test for blank.rb under objectAkshay Vishnoi2014-06-111-0/+0
|/
* Merge pull request #15582 from sgrif/sg-timestampsRafael Mendonça França2014-06-111-3/+5
|\ | | | | Refactor determination of max updated timestamp
| * Refactor determination of max updated timestampSean Griffin2014-06-091-3/+5
| | | | | | | | `[].max # => nil`
* | Merge pull request #15630 from eileencodes/refactor-join-keys-on-add_constraintsMatthew Draper2014-06-122-12/+20
|\ \ | | | | | | begin refactoring add_constraints by moving join keys
| * | begin refactoring add_constraints by moving join keyseileencodes2014-06-102-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add_constraints is complicated and difficult to read. This is the beginning of a long process of refactoring this code. First step: moved the join keys out of AssociationScope and into reflection. We then don't need to call `reflection` because now reflection is `self`. `foreign_key` must be named something else because reflection already has a `foreign_key` method and when passed into `JoinKeys` it was getting the wrong assignment. `reflection_foreign_key` seemed to be an appropriate name. I also named `key` `reflection_key` to match `reflection_foreign_key`.
* | | Merge pull request #15429 from sgrif/sg-rm-cached-attributesRafael Mendonça França2014-06-113-73/+24
|\ \ \ | | | | | | | | rm cached attributes
| * | | rm cached attributesSean Griffin2014-06-113-73/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original patch that added this concept can be found [here](https://web.archive.org/web/20090601022739/http://dev.rubyonrails.org/ticket/9767). The current default behavior is to cache everything except serialized columns, unless the user specified otherwise. If anyone were to specify otherwise, many types would actually be completely broken. Still, the method is left in place with a deprecation warning in case anyone is actually still calling this method.
* | | | Merge pull request #15641 from arthurnn/small_doc_addRafael Mendonça França2014-06-111-0/+1
|\ \ \ \ | | | | | | | | | | Add has_one? docs
| * | | | Add has_one? docs [skip ci]Arthur Neves2014-06-111-0/+1
| | | | |
* | | | | Merge pull request #15628 from akshay-vishnoi/test-casesYves Senn2014-06-111-0/+4
|\ \ \ \ \ | |/ / / / |/| | | | Add test cases for #in? and #presence_in
| * | | | Add test cases for #in? and #presence_inAkshay Vishnoi2014-06-111-0/+4
| | | | |
* | | | | Merge pull request #15637 from akshay-vishnoi/delete-deprecated-methodSantiago Pastorino2014-06-111-4/+0
|\ \ \ \ \ | | | | | | | | | | | | Remove deprecation warning
| * | | | | Remove deprecation warningAkshay Vishnoi2014-06-111-4/+0
| | |_|/ / | |/| | |
* | | | | Merge pull request #15638 from sgrif/sg-column-typesRafael Mendonça França2014-06-111-6/+10
|\ \ \ \ \ | | | | | | | | | | | | Ensure `column_types` returns a type object, and not a column
| * | | | | Ensure `column_types` returns a type object, and not a columnSean Griffin2014-06-111-6/+10
| | |_|/ / | |/| | |
* | | | | Merge pull request #15639 from sgrif/sg-column-serializationRafael Mendonça França2014-06-111-6/+2
|\ \ \ \ \ | |/ / / / |/| | | | Remove YAML serialization workaround for columns
| * | | | Remove YAML serialization workaround for columnsSean Griffin2014-06-111-6/+2
|/ / / / | | | | | | | | | | | | | | | | We are no longer including column objects in YAML serialization, thanks to https://github.com/rails/rails/pull/15621
* | | | cleanup, get rid of trailing whitespace. [ci skip]Yves Senn2014-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Follow up to #15636. /cc @hundredwatt
* | | | Merge pull request #15636 from hundredwatt/patch-1Yves Senn2014-06-111-2/+4
|\ \ \ \ | | | | | | | | | | Fix Apache Directives [ci skip]
| * | | | Fix Apache Directives [ci skip]Jason Nochlin2014-06-111-2/+4
|/ / / / | | | | | | | | Directives need to be placed on their own lines in order to work. Tested on: `Server version: Apache/2.2.22 (Ubuntu); Server built: Mar 19 2014 21:11:15`
* | | | fix typo in changelog [ci skip]Vijay Dev2014-06-111-1/+1
| | | |
* | | | Merge pull request #15635 from kuldeepaggarwal/add-missing-changelogYves Senn2014-06-111-0/+6
|\ \ \ \ | |/ / / |/| | | | | | | add missing changelog entry. refer [#16db90d] [ci skip]
| * | | add missing changelog entry. refer [#16db90d] [ci skip]Kuldeep Aggarwal2014-06-111-0/+4
|/ / /
* | | remove deprecated code. Rely on `describe` provided by minitestAaron Patterson2014-06-101-24/+0
| | |
* | | Merge pull request #15621 from sgrif/sg-column-type-decorationsRafael Mendonça França2014-06-102-2/+1
|\ \ \ | | | | | | | | No need to decorate columns twice
| * | | No need to decorate columns twiceSean Griffin2014-06-102-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We never want result types to override column types, and `decorate_columns` can only affect column types. No need to go through the decoration multiple times, we can just exclude the column types from the result types instead.
* | | | Merge pull request #15619 from aditya-kapoor/fix-js-docRafael Mendonça França2014-06-101-1/+7
|\ \ \ \ | | | | | | | | | | [ci skip] Fix doc for javascript_helper
| * | | | [ci skip] Fix doc for javascript_helperAditya Kapoor2014-06-111-1/+7
| | | | |
* | | | | Merge pull request #15620 from aditya-kapoor/correct-bundler-linkZachary Scott2014-06-101-4/+3
|\ \ \ \ \ | |/ / / / |/| | | | Correct Bundler link [ci skip]
| * | | | Correct Bundler link [ci skip]Aditya Kapoor2014-06-111-4/+3
|/ / / /
* | | | Merge pull request #15618 from JuanitoFatas/doc/action-mailer-guideRafael Mendonça França2014-06-101-10/+19
|\ \ \ \ | | | | | | | | | | [ci skip] Refine Action Mailer guide.
| * | | | [ci skip] Refine Action Mailer guide.Juanito Fatas2014-06-111-10/+19
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Wrap 80 words if possible. * Make attachment hash options more readable. (L239-L243) Before: ![screenshot 2014-06-11 02 59 54](https://cloud.githubusercontent.com/assets/1000669/3235432/a91d0464-f0d2-11e3-9e4a-6af2b2a83f1a.png) After: ![screenshot 2014-06-11 02 59 36](https://cloud.githubusercontent.com/assets/1000669/3235428/a47b28dc-f0d2-11e3-806c-cfaedd3f15df.png) * L619 Wrap "location" in code: `"location"`. * L628 Use actual section name. * L697 Remove unnecessary `./` when refer to other guide.
* | | | Merge pull request #15617 from kuldeepaggarwal/remove-deprecate-methodRafael Mendonça França2014-06-102-13/+1
|\ \ \ \ | | | | | | | | | | remove deprecation call while initializing `ClassCache` object
| * | | | remove deprecation call while initializing `ClassCache` objectKuldeep Aggarwal2014-06-112-13/+1
|/ / / /
* | | | Merge pull request #15616 from apanzerj/fix_long_key_pathsRafael Mendonça França2014-06-103-0/+13
|\ \ \ \ | | | | | | | | | | fix error with long keys in ActiveSupport::Cache::FileStore
| * | | | fix error with long keys in ActiveSupport::Cache::FileStoreAdam Panzer2014-06-103-0/+13
| |/ / /
* | | | Merge pull request #15615 from JuanitoFatas/doc/action-mailerRafael Mendonça França2014-06-101-2/+2
|\ \ \ \ | | | | | | | | | | [ci skip] Improve enable_starttls_auto documentation (Action Mailer).
| * | | | [ci skip] Improve enable_starttls_auto documentation.Juanito Fatas2014-06-111-2/+2
| |/ / /
* | | | Merge pull request #15614 from akshay-vishnoi/doc_changesRichard Schneeman2014-06-102-18/+15
|\ \ \ \ | | | | | | | | | | [ci skip] Add Docs for strip_insignificant_zeros option in number_to_human
| * | | | [ci skip] Add Docs for strip_insignificant_zeros option in number helpersAkshay Vishnoi2014-06-102-18/+15
| |/ / /
* | | | Merge pull request #15612 from akshay-vishnoi/delete-deprecated-methodRafael Mendonça França2014-06-103-10/+4
|\ \ \ \ | |/ / / |/| | | Remove deprecated method ActiveRecord::Base.quoted_locking_column
| * | | Remove deprecated method ActiveRecord::Base.quoted_locking_columnAkshay Vishnoi2014-06-103-10/+4
| |/ /
* | | Merge pull request #15611 from akshay-vishnoi/doc_changesArthur Nogueira Neves2014-06-102-4/+4
|\ \ \ | |/ / |/| | [ci skip] Correct output and use valid options of number helpers
| * | [ci skip] Correct output and use valid options of number helpersAkshay Vishnoi2014-06-102-4/+4
|/ /