activesupport
undefined method `encode' for ActiveSupport::JSON:Module
I am getting this error pretty regularly, but it also seems to be pretty randomly. C:/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/core_ext/object/to_json.rb:20:in `to_json\'[详细]
2023-02-16 07:21 分类:问答uninitialized constant ActiveMerchant::Validateable::HashWithIndifferentAccess when running ActiveMerchant's unit tests
I am trying to run the unit tests of the ActiveMerchant gem version 1.4.1: https://github.com/Shopify/active_merchant/tree/v1.4.1[详细]
2023-02-15 22:29 分类:问答uninitialized constant ActiveSupport::CoreExtensions
I\'m attempting to integrate jquery\'s datepicker with formtastic as detailed here I\'ve followed the directions exactly, but am getting \"uninitialized constant ActiveSupport::CoreExtensions\" when[详细]
2023-02-14 10:08 分类:问答Can't get pluralize/singularize working with ActiveSupport::Inflector (in irb)
irb(main):001:0> require \'active_support\' => true irb(main):002:0> require \'active_support/inflector/inflections\'[详细]
2023-02-13 16:47 分类:问答ActiveSupport can't load Sass engine under Rails 2.3.4
I\'m trying to use Sass engine in a controller like in this blog post. But Rails (2.3.4) ActiveSupport can\'t load it because of an error:[详细]
2023-02-13 09:44 分类:问答ActiveSupport::JSON.decode does not properly handle literal line breaks
Is this the expected behavior? Note how the line break character gets lost. ruby-1.9.2-p136 :001 > ActiveSupport::JSON.decode(\"{\\\"content\\\": \\\"active\\n\\nsupport\\\"}\")[详细]
2023-02-12 06:17 分类:问答MissingSourceFile while requiring 'active_support/inflector/inflections'
I recently updated my application to use Bundler, but I\'m having some troubles. I\'m using a gem that depends on activesupport 2.3+ and I can\'t get it to work with Bundler. Passenger crashes while t[详细]
2023-02-07 14:04 分类:问答How can I use readability gem on Rails 3.0.x?
I\'m going to use readability gem on my rails 3 app. I can\'t use it as advised on the github page http://github.com/sspinc/readability inside the app although it works fine on ruby console.[详细]
2023-01-30 12:23 分类:问答Where are the English pluralization rules for ActiveSupport defined?
I found the ActiveSupport infl开发者_运维知识库ector class. Where can I find the code that initializes the inflector for English?The ActiveSupport inflector.rb file includes all the inflection librari[详细]
2023-01-30 06:36 分类:问答How can I convert JSON to XML in Ruby?
Is t开发者_Go百科here any way to convert JSON to XML in Ruby?require \'active_support\' #for to_xml() \'gem install activesupport\' use the 2.3 branch[详细]
2023-01-27 08:13 分类:问答