Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Require ActiveResource 2.3.5 or better.
Versions of ActiveResource prior to 2.3.5 have a bug that prevents the
AR object from having its errors populated if the content-type of the
response has any extended information in it. The Tracker API returns a
content-type of "application/xml; charset=utf-8". Because of this, the
story object never gets its errors populated.

https://rails.lighthouseapp.com/projects/8994/tickets/3157-activeresource-doesnt-parse-validations-when-extended-content-type
  • Loading branch information
Wes Gibbs committed Feb 26, 2010
1 parent 3925d3e commit cf2b3f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Expand Up @@ -15,8 +15,9 @@ begin
gem.email = "info@hashrocket.com"
gem.homepage = "http://github.com/hashrocket/slurper"
gem.authors = ["Wes Gibbs", "Adam Lowe", "Stephen Caudill", "Tim Pope"]
gem.add_development_dependency "rspec", ">= 1.2.9"
gem.add_development_dependency("rspec", ">= 1.2.9")
gem.files = FileList["{bin,lib}/**/*"]
gem.add_dependency("activeresource", ">= 2.3.5")
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
Expand Down

0 comments on commit cf2b3f6

Please sign in to comment.