aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes problem with replacing has_one association record with itselfDenis Redozubov2013-11-113-4/+26
|
* Update tzinfo dependency to ~> 1.1Erik Michaels-Ober2013-11-102-1/+6
| | | | Include the tzinfo-data in the generated Gemfile on Windows.
* Use the method provided by minitest to make tests order dependentGuillermo Iguaran2013-11-091-4/+2
|
* use complete Relation API and not only `Model.all.merge!`.Yves Senn2013-11-091-88/+83
|
* Fixed minor typoJens Dahl Møllerhøj2013-11-091-1/+1
| | | | | | instead of 'rake test' as shortcut, use 'rake'. Closes #12780 [ci skip]
* Change array check for better aesthetics / reading the codeCarlos Antonio da Silva2013-11-091-1/+1
|
* Make the method name the first argumentRafael Mendonça França2013-11-091-7/+7
| | | | | This is the only argument that changes over the method calls so it is better to it be the first one
* Drop one more string allocationRafael Mendonça França2013-11-091-1/+3
|
* Merge pull request #12821 from arunagw/aa-removed-missleading-messageYves Senn2013-11-092-2/+2
|\ | | | | clarified missleading message
| * Changed message for Model.inspectArun Agrawal2013-11-092-2/+2
| | | | | | | | | | | | | | (No database connection) sounds not be able to connect database. see more #12804
* | improve Active Record Store docs when using PG types. [ci skip].Yves Senn2013-11-091-3/+4
| |
* | Require the top file and autoload Base classRafael Mendonça França2013-11-093-3/+2
| | | | | | | | | | | | | | The generators entry point file is rails/generators so we need to make sure uers will be able to use the generators when requiring that file. Fixes #12802
* | type casted PG bytea values are represented as a Hash.Yves Senn2013-11-091-0/+2
| | | | | | | | | | This is a follow up to: 97f0d9a0dd12e7ad634815eecfeff866f64aad92 This change is also related to: df0edafac9eb47cd971970a9e7b13a3eaddf214e
* | Document the bind returnRafael Mendonça França2013-11-091-0/+3
| |
* | Avoid shot circuit return.Rafael Mendonça França2013-11-091-8/+20
| | | | | | | | This will make the conditional and to code clear
* | Improve changelogs formatting [ci skip]Carlos Antonio da Silva2013-11-093-22/+22
| |
* | Don't use Active Support where we don't need toRafael Mendonça França2013-11-093-3/+3
| |
* | Fix typo in AR store docs [ci skip]Carlos Antonio da Silva2013-11-091-1/+1
|/
* Merge pull request #12760 from pseidemann/masterYves Senn2013-11-093-2/+11
|\ | | | | fix simple_format escapes own output when sanitize is set to true
| * fix simple_format escapes own output when sanitize is set to truepseidemann2013-11-083-2/+11
| |
* | log bind variables after they were type casted.Yves Senn2013-11-095-10/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The log output used to be confusing in situation where type casting has "unexpected" effects. For example when finding records with a `String`. BEFORE: irb(main):002:0> Event.find("im-no-integer") D, [2013-11-09T11:10:28.998857 #1706] DEBUG -- : Event Load (4.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", "im-no-integer"]] AFTER: irb(main):002:0> Event.find("im-no-integer") D, [2013-11-09T11:10:28.998857 #1706] DEBUG -- : Event Load (4.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 0]]
* | Merge pull request #12816 from gaurish/skip-static-testRafael Mendonça França2013-11-081-0/+4
|\ \ | | | | | | Skip test which is broken on jruby
| * | Skip test which is broken on jrubyGaurish Sharma2013-11-091-0/+4
| | | | | | | | | | | | | | | | | | This test is broken from quite a while & is expected to remain broken as encoding issues are hardest to fix in JRuby. so lets skip this test for now
* | | Merge pull request #12806 from vipulnsward/extract_common_code_in_number_helperRafael Mendonça França2013-11-081-30/+13
|\ \ \ | | | | | | | | Extract common code from number helpers to new delegator method.
| * | | Extract common code from number helpers to new delegator method.Vipul A M2013-11-091-30/+13
| | | |
* | | | Merge pull request #12813 from gaurish/patch-2Rafael Mendonça França2013-11-081-2/+1
|\ \ \ \ | | | | | | | | | | fix broken url/formatting in Asset pipeline guide [ci skip]
| * | | | :scissors: fix broken url [ci skip]Gaurish Sharma2013-11-091-2/+1
| | |/ / | |/| |
* | | | Merge pull request #12814 from gaurish/enable-jruby19-againRafael Mendonça França2013-11-081-2/+2
|\ \ \ \ | |/ / / |/| | | Start Running tests on Stable JRuby
| * | | Start Running tests on Stable JRubyGaurish Sharma2013-11-091-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Fixes for LOT of bugs have now landed in Jruby 1.7.6, thus we no longer need to run tests against the master. for broken tests that are still remaning: 1. If problem is in rails - we fix that test/code 2. if its a JRuby bug - we skip that test & file a bug report for jruby.
* | | Mark broken test as pendingRafael Mendonça França2013-11-082-0/+4
| | | | | | | | | | | | This will avoid the broken window effect in our test suite
* | | Remove more skipRafael Mendonça França2013-11-084-13/+7
| | |
* | | Don't skip tests if we don't need to.Rafael Mendonça França2013-11-0830-1023/+966
| | | | | | | | | | | | | | | | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed.
* | | removes redundant curly brackets in example code [ci skip]Xavier Noria2013-11-081-1/+1
| | |
* | | Merge pull request #12609 from corwinkelly/patch-1Xavier Noria2013-11-081-3/+1
|\ \ \ | | | | | | | | Update workaround for "Outside the Scope of Strong Parameters"
| * | | Fix undefined method error for NilClasscorwinkelly2013-10-231-1/+1
| | | | | | | | | | | | Add .try to prevent undefined method error for NilClass.
| * | | Update workaround for "Outside the Scope of Strong Parameters" corwinkelly2013-10-221-3/+1
| | | | | | | | | | | | The previous example of how to permit a hash of unknown keys used .tap, but had the side effect of logging an "Unpermitted parameters" message despite being a successful workaround. The proposed workaround is ever so slightly better, imo, because it won't result in an "Unpermitted parameters" message being logged.
* | | | Merge pull request #12803 from arunagw/remove-unused-requireRafael Mendonça França2013-11-081-2/+0
|\ \ \ \ | | | | | | | | | | Removed unused require
| * | | | Removed unused requireArun Agrawal2013-11-081-2/+0
| | |/ / | |/| |
* | | | Merge pull request #12292 from bf4/better_database_yamlXavier Noria2013-11-0811-145/+85
|\ \ \ \ | |/ / / |/| | | Extract common database defaults; better use of YAML
| * | | Extract common database defaults; better use of YAMLBenjamin Fleischer2013-11-0811-145/+85
|/ / /
* | | Merge pull request #12791 from jasonayre/ja/fix_autoload_errorRafael Mendonça França2013-11-072-0/+6
|\ \ \ | | | | | | | | add autoload :TransactionState to fix Marshal.load issues
| * | | revised changelog comment to be less than 80 charsJason Ayre2013-11-071-2/+2
| | | |
| * | | add autoload :TransactionState to fix Marshal.load issuesJason Ayre2013-11-072-0/+6
| | | |
* | | | Merge pull request #12795 from arunagw/plateform-dependent-gemsRafael Mendonça França2013-11-072-0/+16
|\ \ \ \ | | | | | | | | | | Added platform dependent gems
| * | | | Added platform dependent gemsArun Agrawal2013-11-072-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See #12475 If people are on rbx they will get the desired gem
* | | | | Merge pull request #12800 from raysrashmi/warning-removed-ruby-trunkRafael Mendonça França2013-11-071-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Warning removed for ruby-head
| * | | | Warning removed for ruby-headRashmi Yadav2013-11-071-1/+1
|/ / / /
* | | | Merge pull request #12799 from arunagw/aa-av-test-fixesJeremy Kemper2013-11-071-1/+1
|\ \ \ \ | | | | | | | | | | Don't call sub! since it may return nil. Reverts 4d15661.
| * | | | sub! can return nilArun Agrawal2013-11-071-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Revert "drop one more string allocation" This reverts commit 4d15661d6c46c86a62ee1fc358f4b3ef9dd9f2ea.
* | | | Merge pull request #12798 from arunagw/plugin-generators-testGuillermo Iguaran2013-11-071-1/+4
|\ \ \ \ | | | | | | | | | | Fixed plugin_generator test