I don't know why it's different in the development environment but from
actionpack/lib/action_dispatch/middleware/best_standards_support.rb<https://github.com/rails/rails/blob/6767946374353f90ce05e68d38bcb93dcb8bae56/actionpack/lib/action_dispatch/middleware/best_standards_support.rb>
:
case type
when true
"IE=Edge,chrome=1"
when :builtin
"IE=Edge"
when false
nil
end
The bit of history I found: "Improve best_standards_support to use only
IE=Edge in development
mode<https://github.com/rails/rails/commit/6767946374353f90ce05e68d38bcb93dcb8bae56>
"
So it's not an unsupported value, but that doesn't say why we do so in the
development environment.
Franck
On Mon, Feb 28, 2011 at 3:47 PM, Robert Pankowecki <
[email protected]> wrote:
> File ./lib/rails/generators/rails/app/templates/config/environments/
> development.rb.tt:
> # Only use best-standards-support built into browsers
> config.action_dispatch.best_standards_support = :builtin
>
> File ./lib/rails/application.rb:
> middleware.use ::ActionDispatch::BestStandardsSupport,
> config.action_dispatch.best_standards_support if
> config.action_dispatch.best_standards_support
>
> What's the point of setting action_dispatch.best_standards_support to
> Symbol when we only care whether it is true or false ?
> Do we expect that in future there will be other possible values for
> this setting ?
>
> Robert Pankowecki
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.