aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #18366 from codeodor/patch-1Rafael Mendonça França2015-01-061-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Add log_level options to configuration guide
| * | | | Add log_level options to configuration guideSammy Larbi2015-01-061-1/+1
|/ / / /
* | | | Merge pull request #18362 from georgemillo/attributeRafael Mendonça França2015-01-061-3/+2
|\ \ \ \ | | | | | | | | | | replacing 'attribute' method with an alias
| * | | | replacing 'attribute' method with an aliasGeorge Millo2015-01-061-3/+2
| |/ / /
* | | | Merge pull request #18364 from prathamesh-sonpatki/ar-changelog-typosAbdelkader Boudih2015-01-061-5/+5
|\ \ \ \ | | | | | | | | | | Fixed typos and wording in ActiveRecord CHANGELOG [ci skip]
| * | | | Fixed typos and wording in ActiveRecord CHANGELOG [ci skip]Prathamesh Sonpatki2015-01-061-5/+5
|/ / / /
* | | | Merge pull request #18358 from ↵Yves Senn2015-01-064-1/+12
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | prathamesh-sonpatki/add-test-for-non-string-labeled-fixtures Fix lookup of fixtures with non-string(like Fixnum) label
| * | | Fix lookup of fixtures with non-string labelPrathamesh Sonpatki2015-01-064-1/+13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixtures with non-string labels such as integers should be accessed using integer label as key. For eg. pirates(1) or pirates(42). - But this results in NotFound error because the label is converted into string before looking up into the fixtures hash. - After this commit, the label is converted into string only if its a symbol. - This issue was fount out while adding a test case for https://github.com/rails/rails/commit/7b910917.
* | | Merge pull request #18354 from simi/improve-request-forgery-documentationDavid Heinemeier Hansson2015-01-051-3/+3
|\ \ \ | | | | | | | | Improve protect_from_forgery documentation.
| * | | Improve protect_from_forgery documentation. [ci skip].Josef Šimánek2015-01-061-3/+3
| | | |
* | | | Merge pull request #18356 from georgemillo/singularizeRafael Mendonça França2015-01-051-2/+2
|\ \ \ \ | | | | | | | | | | removing unecessary default parameter in private method
| * | | | removing unecessary parameter in private methodGeorge Millo2015-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | '_singularize' only ever gets called with one argument
* | | | | Merge pull request #18355 from georgemillo/docsSean Griffin2015-01-051-0/+3
|\ \ \ \ \ | | | | | | | | | | | | Documenting 'remove_possible_method' and 'redefine_method' [ci skip]
| * | | | | adding documentation for 'remove_possible_method' and 'redefine_method' [ci ↵George Millo2015-01-051-0/+3
| |/ / / / | | | | | | | | | | | | | | | skip]
* | | | | Merge pull request #18350 from brainopia/fix_build_from_bind_valuesSean Griffin2015-01-052-2/+12
|\ \ \ \ \ | |_|/ / / |/| | | | Propagate bind_values from join in subquery
| * | | | Correctly fetch bind_values from join in subquerybrainopia2015-01-062-2/+12
| | | | |
* | | | | Define attribute methods before attempting to populate recordsSean Griffin2015-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `initialize_internals_callback` will attempt to assign attributes from the current scope, which will fail if something defined the method and calls super (meaning it won't hit `method_missing`). Fixes #18339
* | | | | Whitespace fixes from #18349Sean Griffin2015-01-051-2/+1
| | | | |
* | | | | Merge pull request #18349 from jdelStrother/primarykeylessSean Griffin2015-01-052-1/+23
|\ \ \ \ \ | |/ / / / |/| | | | Fix rollback of primarykey-less tables
| * | | | Fix rollback of primarykey-less tablesJonathan del Strother2015-01-052-1/+23
| | | | | | | | | | | | | | | If you have a table without a primary key, and an `after_commit` callback on that table (ie `has_transactional_callbacks?` returns true), then trying to rollback a transaction involving that record would result in “ActiveModel::MissingAttributeError: can't write unknown attribute ``”
* | | | | Avoid changing the global state on the testsRafael Mendonça França2015-01-051-1/+6
| | | | |
* | | | | Merge pull request #17676 from ↵Rafael Mendonça França2015-01-052-6/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tigrish/fix_custom_i18n_exception_handler_regression Fix I18n regression introduced by #13832
| * | | | | Fix I18n regression introduced by #13832Christopher Dell2014-11-192-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | Previously, when the `:raise` options was set to `false`, it would get overwritten to `true`, preventing custom exception handlers to be used.
* | | | | | Merge pull request #17720 from rzane/firebird-test-supportRafael Mendonça França2015-01-055-21/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Add Firebird support to test suite
| * | | | | | Add firebird support to test suiteRay Zane2015-01-055-21/+28
|/ / / / / /
* | | | | | Merge pull request #18344 from jonatack/patch-1Rafael Mendonça França2015-01-051-5/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Clean up secure_token_test
| * | | | | | Clean up secure_token_testJon Atack2015-01-051-5/+5
| | | | | | |
* | | | | | | Merge pull request #18345 from mtthgn/patch-1Rafael Mendonça França2015-01-051-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fix TypeError in Fixture creation
| * | | | | | Fix TypeError in Fixture creationMatt Hogan2015-01-051-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 4.2 started doing `value.gsub('$LABEL', label)` for fixture label interpolation, but you can have have valid YAML where `label` isn't a String. For example: ```YAML 0: name: John email: johndoe@gmail.com 1: name: Jane email: janedoe@gmail.com ``` This YAML will create a label that is a Fixnum, causing `TypeError: no implicit conversion of Fixnum into String.`
* | | | | | reflects changes in 34cd7e2 in the index [ci skip]Xavier Noria2015-01-051-3/+3
| | | | | |
* | | | | | Merge pull request #18341 from aditya-kapoor/remove-unneeded-checksRafael Mendonça França2015-01-051-2/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | remove unneeded check since /_one_time_conditions/ is not present anymore.
| * | | | | | remove unneeded check since /_one_time_conditions/ is removedAditya Kapoor2015-01-051-2/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #18342 from ↵Rafael Mendonça França2015-01-051-2/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | brainopia/reset_template_assertion_without_warnings Reset template assertions without warnings
| * | | | | Reset template assertions without warningsbrainopia2015-01-051-2/+4
|/ / / / /
* | | | | Fix typo in changelog [ci skip]Carlos Antonio da Silva2015-01-051-1/+1
| | | | |
* | | | | remove deprecated support to preload instance-dependent associaitons.Yves Senn2015-01-054-32/+16
| | | | | | | | | | | | | | | | | | | | Addresses https://github.com/rails/rails/commit/ed56e596a0467390011bc9d56d462539776adac1#commitcomment-9145960
* | | | | remove deprecated support for PG ranges with exclusive lower bounds.Yves Senn2015-01-053-37/+10
| | | | | | | | | | | | | | | | | | | | addresses https://github.com/rails/rails/commit/91949e48cf41af9f3e4ffba3e5eecf9b0a08bfc3#commitcomment-9144563
* | | | | can't kill thread with in-memory db. fixes `rake test:sqlite3_mem`.Yves Senn2015-01-051-0/+2
| | | | |
* | | | | remove deprecation warning when modifying a Relation with cached arel.Yves Senn2015-01-053-21/+27
| | | | | | | | | | | | | | | | | | | | This adresses https://github.com/rails/rails/commit/1b7aa62b184c4410c99208f71b59bbac5c5f03be#commitcomment-9147803
* | | | | add punctuation. [ci skip]Yves Senn2015-01-051-2/+2
| | | | |
* | | | | Merge pull request #18332 from gchan/update-adequate-record-notesRafael Mendonça França2015-01-041-0/+3
|\ \ \ \ \ | | | | | | | | | | | | Include newer `find_by` syntax example in 4.2 release notes for Adequate Record
| * | | | | [guides] Added newer find_by syntax example in 4.2 release notes for ↵Gordon Chan2015-01-051-0/+3
| | |_|_|/ | |/| | | | | | | | | | | | | Adequate Record [skip ci]
* | | | | Merge pull request #18331 from simi/document-protect-from-forgery-optionsDavid Heinemeier Hansson2015-01-041-8/+2
|\ \ \ \ \ | |/ / / / |/| | | | Document all options for protect_from_forgery.
| * | | | Document all options for protect_from_forgery.Josef Šimánek2015-01-041-8/+2
|/ / / / | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #18090 from egilburg/patch-3Rafael Mendonça França2015-01-041-9/+1
|\ \ \ \ | | | | | | | | | | | | | | | simplify ActiveSupport.test_order definition
| * | | | simplify ActiveSupport.test_order definitionEugene Gilburg2014-12-181-9/+2
| | | | |
* | | | | Do not include Active Support on testsRafael Mendonça França2015-01-043-30/+24
| | | | | | | | | | | | | | | | | | | | It was not done to be included
* | | | | Merge pull request #18328 from brainopia/remove_tz_proxyRafael Mendonça França2015-01-043-12/+7
|\ \ \ \ \ | | | | | | | | | | | | Use directly TZInfo::Timezone without proxy
| * | | | | Use directly TZInfo::Timezone without proxybrainopia2015-01-043-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since real timezone is loaded anyway in `#utc_offset` which is called during `#create`
* | | | | | Remove unused requireCarlos Antonio da Silva2015-01-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was used by the respond_to/respond_with implementation on this file, which is now extracted to the responders gem.