Rails 2.3.5
Upgrade to Rails 2.3.5. Also work around this bug: https://rails.lighthouseapp.com/projects/8994/tickets/3524 created by the aforementioned Rails release.
This commit is contained in:
parent
a6429f8c22
commit
e3832c6f79
187 changed files with 2316 additions and 891 deletions
|
@ -6,6 +6,7 @@ module ActiveSupport
|
|||
|
||||
module JSON
|
||||
class << self
|
||||
attr_reader :parse_error
|
||||
delegate :decode, :to => :backend
|
||||
|
||||
def backend
|
||||
|
@ -20,6 +21,7 @@ module ActiveSupport
|
|||
require "active_support/json/backends/#{name.to_s.downcase}.rb"
|
||||
@backend = ActiveSupport::JSON::Backends::const_get(name)
|
||||
end
|
||||
@parse_error = @backend::ParseError
|
||||
end
|
||||
|
||||
def with_backend(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue