dev_edge_common was introduced in 3ac70bd to accommodate for gems
needed to build Rails 5 alpha, but that array is empty 477bed8 (Rails 5.0.0.beta1).
From Ruby 2.3, CGI.escapeHTML will be about 7 times faster than gsub by this patch https://github.com/ruby/ruby/pull/1164.
Since escaping HTML can be a bottleneck of rendering templates, I want to use faster implementation.
Generated Rails app READMEs are Markdown as of 9739f07d763e29b1c5d71cabf1ca8cfa4421e653
IMHO, ActionCable is something that is like a cherry on an ice cream sundae – something that's super cool, but not something every app is going to need or want. Especially with gems like eventmachine, users can sometimes get weird insta…
[ci skip]
Not ready for merge yet. Drafting up release notes using 4.0 as a template. Ref #20612.
This will now make ActionView independent of ActionDispatch (and thus
ActionPack). This also makes Rails' Mime code more easily usable by
other people!
ref #17030
The errors message only was not displayed, as if it did not use the inline reporting,
modified to also information the method name and the like in error are displayed.
# before
Failed assertion, no message given.
bin/rails t...
If I generate a new rails app with the --skip-action-cable option, I probably should not see app/channels/application_cable/channel.rb and app/channels/application_cable/connection.rb.
What do you think?
Follow the lines of the other .tt files (example) that have the…
IMHO, having add_source is a monkey patch which promotes bad
conventions when using Bundler / Rubygems' Gemfile. It is important to
know the syntax behind Gemfiles, and how to properly declare things.
In line with the other initializers, add a short comment that explains
what happens when you change the value of the initializer.
[ci skip]
[ci skip]
The initializer has existed since 4.1, for instance see:
https://github.com/rails/rails/blob/v4.1.0/railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb
The rails/docrails GitHub repo has moved from public to private status
recently, so it makes sense to remove references to it in the
documentation, to avoid confusion.
[ci skip]
Fixes #13851. This will allow end users to do multiple HTTP requests
within a single test, and will clear the
ActionController:TestRequest's env['PATH_INFO'].
ping @pixeltrix @mastahyeti
# before
App.appearance = App.cable.subscriptions.create "AppearanceChannel",
connected: ->
# Called when the subscription is ready for use on the server
disconnected: ->
# Called when the subscription has been te...
# before
module Bukkits
class UsersControllerTest < ActionDispatch::IntegrationTest
include Engine.routes.url_helpers
setup do
@user = bukkits_users(:one)
end
# after
module Bukkits
cla...
Adds back support for specifying the schema in the nameoption passed to remove_index. Support for this had been removed in https://github.com/rails/rails/pull/19456.
Follow up PR for: https://github.com/rails/rails/pull/22604
By removing the cache, this will finally solve #7245, which is still an
issue on Rails master. If there is a way to bust the cache or to add a
key to the Concurrent::Map, I'd be okay with that solution too.
ping @rafaelfranca
Many CVEs released: https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
https://github.com/rails/rails/pull/22636/files#r47916360
Unless he changed his name to Cavid Heinemeier Hansson
benchmark shows negligible performance differences here on both ruby-2.2.3 & jruby-9.0.4.0.
MRI results:
Calculating -------------------------------------
...