- 11 5月, 2016 3 次提交
-
-
由 Jon Moss 提交于
If an attribute was of the binary type, and also was a Hash, it would previously not be logged, and instead raise an error saying that `bytesize` was not defined for the `attribute.value` (a `Hash`). Now, as is done on 4-2-stable, the attribute's database value is `bytesize`d, and then logged out to the terminal. Reproduction script: ```ruby require 'active_record' require 'minitest/autorun' require 'logger' ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') ActiveRecord::Base.logger = Logger.new(STDOUT) ActiveRecord::Schema.define do create_table :posts, force: true do |t| t.binary :preferences end end class Post < ActiveRecord::Base serialize :preferences end class BugTest < Minitest::Test def test_24955 Post.create!(preferences: {a: 1}) assert_equal 1, Post.count end end ```
-
由 Jon Moss 提交于
Minor syntax change
-
由 Zach 提交于
While working on this very example recently, I found that Rails will throw POST errors if you leave an empty block in front the `format.js` when using either `remote: true` or vanilla JS/JQuery.
-
- 10 5月, 2016 24 次提交
-
-
由 Rafael França 提交于
Should quote `lock_name` to pass to `get_advisory_lock`
-
由 Xavier Noria 提交于
Replacement cycle for readability
-
由 Ryuta Kamizono 提交于
-
由 Molchanov Andrey 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Kasper Timm Hansen 提交于
Fix Gemfile.lock by updating rails-dom-testing
-
由 Prathamesh Sonpatki 提交于
- Followup of https://github.com/rails/rails/pull/24946.
-
由 Rafael França 提交于
Update rails-dom-testing gem to 2.0
-
由 Connor Shea 提交于
Resolves #24924.
-
由 Santiago Pastorino 提交于
use Rack::Utils.valid_path? to check path
-
由 Santiago Pastorino 提交于
Improve AV changelog with regards to default RAW handler
-
由 Vipul A M 提交于
Feature getting started guide [ci skip]
-
由 BV Satyaram 提交于
-
由 Rodrigo Rosenfeld Rosas 提交于
It highlights which kind of incompatibilities this could lead to when rendering plain JS or HTML partials.
-
由 Vipul A M 提交于
Add :ssl/:tls to ActionMailer rdoc [ci skip]
-
由 Pedro Adame Vergara 提交于
-
由 Jeremy Daer 提交于
WIP: Action Cable JavaScript tests
-
由 Kasper Timm Hansen 提交于
Will be using this in later code.
-
由 Kasper Timm Hansen 提交于
Each test executes in another tmp folder, so there's no chance of polluting another test run.
-
由 Jordan Owens 提交于
This commit uses the new method in Rack to check if a path is valid.
-
- 09 5月, 2016 4 次提交
-
-
由 Javan Makhmali 提交于
-
由 Xavier Noria 提交于
Replacement cycle for readability
-
由 Molchanov Andrey 提交于
-
由 Vipul A M 提交于
Change http github links to https [ci skip]
-
- 08 5月, 2016 9 次提交
-
-
由 प्रथमेश Sonpatki 提交于
Use consistent term `underscored`
-
由 Erol Fornoles 提交于
-
由 yui-knk 提交于
Use original `Array#sum` when calculating Numeric sum. This commit is related #24804 issue. Issue #24804 reports `Array#sum` becomes much slower when ActiveSupport is included. This commit tries to use original method as far as possible. ```shell $ cat array_sum.rb class Array alias core_sum sum end require 'benchmark/ips' require 'active_support/core_ext/enumerable' ary = [1.0] * 1_000_000 Benchmark.ips do |x| x.report("core sum") { ary.core_sum } x.report("AS's sum") { ary.sum } x.compare! end $ bundle exec ruby -v -I lib array_sum.rb ruby 2.4.0dev (2016-05-01 master 54867) [x86_64-darwin14] Calculating ------------------------------------- core sum 4.000 i/100ms AS's sum 5.000 i/100ms ------------------------------------------------- core sum 50.492 (± 7.9%) i/s - 252.000 AS's sum 50.116 (± 6.0%) i/s - 250.000 Comparison: core sum: 50.5 i/s AS's sum: 50.1 i/s - 1.01x slower ``` Signed-off-by: NJeremy Daer <jeremydaer@gmail.com>
-
由 Mehmet Emin İNAÇ 提交于
Follow up to 7d55c846
-
由 Arthur Nogueira Neves 提交于
Followup to #24844
-
由 Jon Moss 提交于
Some slight documentation edits and fixes. Also, run remove unnecessary `RuntimeError`. r? @arthurnn
-
由 yuuji.yaginuma 提交于
In #23935, cable file was to be provided by the javascript instead of coffeescript, doc was also been modified to use javascript.
-
由 Xavier Noria 提交于
Replace `loop` to `until`
-
由 Molchanov Andrey 提交于
-